You are here:
Specify Which Rule Engine to Use
Use the Transaction Type field in a quote to specify the rule engine to use for validating product configurations and executing configuration rules and constraints. Create Transaction Processing Type records based on your requirements, and then specify the default rule engine on the Revenue Settings page to validate product configurations and execute rules and constraints.
Required Editions
| Available in: Lightning Experience |
| Available in: Developer, Enterprise, and Unlimited Editions of Revenue Cloud where Product Configurator is enabled |
| User Permissions Needed | |
|---|---|
| To create transaction processing type records and to select a default transaction processing type: | Customize Application AND View Setup and Configuration |
- Update the Transaction Type to Use Standard Configurator
If you enabled Advanced Configurator but need existing quotes to run with Standard Configurator instead, create a Standard Configurator transaction type and update quotes to use it. Existing quotes then run with Standard Configurator rules, while new quotes use the default TPT you specify.
Create Transaction Type Records
Create Transaction Processing Type records based on the rule engine that you want to use.
- Before you create a Transaction Processing Type record, make sure that the Configure Products at Runtime setting is turned on.
- Your org should have a Transaction Processing Type (TPT) that is not using Advanced Configurator. To use Advanced Configurator, create a new TPT and set its rule engine to AdvancedConfigurator.
- If only Constraint Rules Engine (the Set Up Configuration Rules and Constraints with Constraint Rules Engine setting) is enabled, Product Configurator uses Constraint Rules Engine to run configuration rules.
- If only Business Rules Engine (the Set Up Configuration Rules with Business Rules Engine setting) is enabled, Product Configurator uses Business Rules Engine only if StandardConfigurator is the rule engine specified in the associated Transaction Processing Type record. If the Transaction Type field on quotes and orders or the Rule Engine field on the Transaction Processing Type record is blank, Product Configurator doesn't run any configuration rules.
- If both rules engines are enabled, Product Configurator uses Business Rules Engine only if StandardConfigurator is the rules engine specified in the associated Transaction Processing Type record. Else, it uses Constraint Rules Engine.
- From Setup, in the Quick Find box, enter Revenue Settings, and then select Revenue Settings.
-
Turn on Transaction processing for quotes.
To learn how the Transaction processing for quotes setting works in Transaction Management, see Configure Transaction Management Settings.
-
Use TransactionProcessingType Tooling API to create a Transaction Processing Type record
and specify the rule engine.
Sales reps can’t see the fields in Transaction Processing Type records. If necessary, append the name of the rule engine to the Transaction Processing Type record name.
- If necessary, modify the field access settings of the Transaction Type field on the Quote objects to provide view access to the necessary profiles.
Create transaction type records with these details.
- URI: /services/data/v63.0/tooling/sobjects/TransactionProcessingType
- Request Type: POST
- Payload:
{ "SaveType": "Standard", "Description": "<Enter a description>", "DeveloperName": "<Enter a developer name>", "MasterLabel": "<Enter a label>", "RuleEngine": "<AdvancedConfigurator or StandardConfigurator>"}
Select the Default Rule Engine
Select a default Transaction Processing Record, containing the rule engine type, to be assigned to quotes.
- From Setup, in the Quick Find box, enter Revenue Settings, and then select Revenue Settings.
- In the Transaction processing for quotes section, select the default transaction type.
When users create quotes, the Transaction Type field is automatically populated with the default Transaction Processing Type record. Admins and sales reps with the appropriate permissions can modify the Transaction Type field on quotes and orders.
When the Transaction Type field is blank and no default transaction type is defined:
- If the Set Up Advanced Configuration Rules and Constraints setting is turned on, the Advanced Configurator engine runs the configuration rules.
- If the setting isn’t turned on, configuration rules aren't run.

