Get Started with Revenue Management Developer Resources
Revenue Management Settings
Modeling a Generator Set
Core Concept Examples
About the Apex Debugging Log File
Use the Apex Debugging Log File
Model Structure
Previous Versions
The Apex debugging log file contains three sections: RLM_CONFIGURATOR_BEGIN, RLM_CONFIGURATOR_STATS, and RLM_CONFIGURATOR_END.
JSON representation of the request payload to ExecuteConstraintsRESTService.
1"contextProperties" : { },
2"rootLineItems" : [ {
3 "attributes" : { },
4 "properties" : { },
5 "ruleActions" : null,
6 "attributeDomains" : { },
7 "portDomainsToHide" : { },
8 "lineItems" : [ {} ]
9} ],
10"orgId" : "00Dxx0000006H2F"
11}Key statistics of the request execution by the constraint engine, as in this example.
1"rootId" : "0QLxx0000004D1uGAE", //Root ID that is being configured
2"Product" : "SFDC License", //Root product name
3"Total Execution Time" : "2ms", //Total solver time
4"Constraints Execution Stats" : "Distinct: 18 Total: 70", //Number of distinct and total constraint satisfaction attempts
5"Solving goal AndGoal([ConfigureComponentGoal(RootProduct RootProduct_0)]) took " : "2ms", //Total solver time for the goal
6"Configurator Stats" : "Total Time 2ms", //Total time
7"Number of Component" : "6", //Number of components instantiated
8"Number of Variables" : "42", //Number of variables instantiated
9"Number of Constraints" : "13", //Number of constraints instantiated
10"Number of Backtracks" : "0", //Number of backtracks solver did for the last choice point
11"Constraints Violation Stats" : "Distinct: 0 Total: 0", //Distinct and total number of constraint violations followed by a list of top 10
12"ChoicePoint Backtracking Stats" : "Distinct: 0 Total: 0" // Distinct and total number of backtracked choice points followed by a list of top 10
13}JSON representation of the response payload from ExecuteConstraintsRESTService.
1"id" : "0QLxx0000004D1uGAE",
2"rootId" : null,
3"parentId" : null,
4"cfgStatus" : "User",
5"name" : "RootProduct",
6"relation" : null,
7"source" : "SalesTransaction.SalesTransactionItem",
8"qty" : 1,
9"actionCode" : null,
10"modelName" : "Support_instance_variable_in_CML",
11"productId" : "01txx0000006iP2AAI",
12"productRelatedComponentId" : null,
13"attributes" : {}, "properties" : {},
14"ruleActions" : [ {} ], "attributeDomains" : {}, "portDomainsToHide" : {},
15"lineItems" : [ {} ]
16}