Loading
Ongoing maintenance for Salesforce HelpRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
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
          Rule Sets

          Rule Sets

          A rule set is a logical grouping of one or more context rules. Use a rule set to designate how the grouped context rules are expressed in a logical expression and how they are used in Industries Cart.

          Rule Sets

          Rule sets are one of several context rule components.

          Rule Types

          Rule sets have a Rule Type property. The rule type property controls how the rules are used in Industries Cart. There are three rule types.

          • Qualification

          • Penalty

          • Evaluation

          For more information about rule types, see Types of Context Rules .

          Expression Mode

          Rule sets can also define an Expression Mode. Use the expression mode when there are multiple context rules contained in the rule set. The expression mode describes how the rules engine compiles the child context rules into a logical expression. See Child Rules and Expression Modes and Custom Expressions .

          Header Rules

          To optimize rules processing, you can set one of the children context rules in the rule set as the header rule. For more information about header rules, see Header Rule.

          Rule Sets and the CPQPartition Platform Cache

          Starting in ​Salesforce Industries Communications, Media, and Energy Summer '18, rule sets, context rules, and rule conditions are stored in the org cache of the CPQPartition platform cache to optimize performance. When creating or updating rule sets, you must clear the cache before your changes are reflected.

          Rule Set Assignment

          Assign rules sets to products, promotions, price lists, price list entries, child price lists, or pricing adjustments.

          For more information about how to assign rule sets, see the following topics:

          Create rule sets in Vlocity Product Console. For more information about how to create rule sets, see Creating Rule Sets.

          • Create Rule Sets
            A rule set is a logical grouping of one or more context rules. A rule set enables you to designate how the grouped context rules are expressed in a logical expression and how they are used in Industries Cart. To create a rule set, you define general properties and then specify one or more context rules as child rules.
          • Header Rule
            To configure which rule is executed first when you have multiple children rules in a rule set, you can specify one of the rules as the header rule. If the header rule does not pass, processing stops on the entire rule set. Using header rules enables you to optimize rule set evaluation.
          • Expression Modes and Custom Expressions
            When a rule set contains more than one child context rule, you must use the expression mode to specify how the rules engine combines the child rules into a logical expression.
          • Failure Messages
            When creating context rules, you can create failure messages for the following entities: rule sets, context rules, and rule conditions.
          • Create a Penalty Rule
            Create penalty rule sets in Vlocity Product Console using reusable context rule components.
          • Create Object Level Rules
            Object level rules are used by the ContractTerminiationService interface to assign penalty rules for contracts.
           
          Loading
          Salesforce Help | Article