Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Define Execution Rules for a Decomposition Rule

          Define Execution Rules for a Decomposition Rule

          To apply logic that determines when a specific decomposition rule runs, define execution rules that specify the conditions for the rule. By default, products decompose into fulfillment line items independent of execution rules.

          Required Editions

          Available in: Salesforce Classic (not available in all orgs) and Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions
          User Permissions Needed
          To define conditions for when a decomposition rule runs:

          Fulfillment Designer

          OR

          DRO Admin User

          To prevent order orchestration failures during decomposition or plan composition, complete these configuration prerequisites:

          • For every context definition attribute you create, define a corresponding tag and map it to an sObject field.
          • Confirm that all tags are present so that resources appear correctly in the Condition Builder.
          • Confirm that all attributes are mapped to prevent incorrect condition evaluations during rule execution.
          • To apply changes to the context definitions, clone the DRO RuleLibrary version, associate the new context definition, and activate it.

          To control when a decomposition rule executes, create an execution rule. Execution rules contain the conditions that must be met before the decomposition rule is executed.

          1. From the App Launcher, find and select Dynamic Revenue Orchestrator.
          2. From the app navigation menu, select Products.
          3. Click a product.
          4. Click the Decomposition tab. On the Decomposition Workspace, select a decomposition rule by clicking the connector icon on the line that connects the source and target products. A side panel opens with the Details, Execution Rules, and Attribute Mapping tabs.
          5. In the side panel, click the Execution Rules tab.
          6. Click Configure Execution Rules.
          7. In the Condition Builder modal, configure the conditions.
          8. In the Based On field, select Sales Transaction Items.
          9. Select a Condition Requirement to determine how multiple conditions within the rule are evaluated:
              • For every condition to be met, select All Conditions Are Met (AND).
              • For at least one condition to be met, select Any Condition Is Met (OR).
              • To create complex logic, select Custom Logic Is Met.
              Note
              Note If a decomposition rule condition (ruleset) contains multiple dynamic rules, they are evaluated separately. The condition evaluates to true if at least one individual dynamic rule is true, applying OR logic between the rule results.
          10. In the Resource field, select a tag or attribute.
            Note
            Note The items available in the resource list are determined by your tags and attributes configuration:
            • Tags: Sourced from the Sales Transaction Item (STI) context nodes within the active context definition mapped in Setup. If an STI context node does not have a defined tag, it does not appear in the resource list. If a tag is defined but is not mapped to an object field, the condition evaluates to false at runtime.
            • Attributes: Populated from the source product or product classification attributes.
          11. From the Operator dropdown, select a value, such as Equals.
          12. Enter or select a Value.
            Note
            Note For picklist resource tags, enter the text value manually.
          13. Save your changes.

          Let's explore an example of a execution rule in action:

          Imagine you sell a Cloud Security Suite with a service tier attribute that can be either Standard or Enterprise. You want the suite to decompose into different fulfillment patterns based on this style.

          Single Execution Rule: To ensure only enterprise-tier suites follow a specific decomposition rule, go to the execution rule builder. In the Based On field, select Order Line Items. Set the condition to Service Tier Equals Enterprise. The rule executes only when an order line item contains an enterprise-tier suite.

          Multiple Execution Rules: If you want the same decomposition rule to apply to both Standard and Enterprise tiers, you can create two separate execution rules—one for each tier. Because multiple rules are evaluated using OR logic at the ruleset level, the decomposition rule executes if either tier is detected in the order line item.

          Execution rule criteria showing the Standard laptop bag style selected as the condition.
          Note
          Note Enter the text value manually for resource tags of picklist type.
           
          Loading
          Salesforce Help | Article