Run Config Rules Action
Run rules for a specific quote or order based on a context ID or transaction ID, and process other steps that are part of the configuration directly within a Flow. This action decouples rule execution from configurations to enable independent execution of rules and for easier retrieval of responses.
This action is available in API version 65.0 and later.
URI: /services/data/v68.0/actions/standard/runConfigRules If you’re calling this invocable action from an external website, include the site name in the URI. <siteName>/services/data/v68.0/actions/standard/runConfigRules
Formats: JSON, XML
HTTP Methods: POST
Authentication: Authorization: Bearer TOKEN
Where TOKEN is a placeholder for your OAuth access token.
| Input | Type | Description |
|---|---|---|
transactionContextId | string | Unique identifier for the transaction context. |
transactionId | string | Required. Unique identifier for the transaction. |
| Output | Type | Description |
|---|---|---|
configRuleResult | Apex-defined | An runtime_industries_cpq.ConfigRuleResult record that contains the configuration rule execution results including validation messages, product recommendations, visibility rules, and errors from rule processing. |
transactionContextId | string | Unique identifier for the transaction context. |
POST
This example shows a sample request to run rules for the specified quote based on the transaction context ID and transaction ID.
This example shows a sample successful response.
Here’s a sample input to call this invocable action by using transactionContextId property from Apex code.