Loading
Salesforce now sends email only from verified domains. Read 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
          Context Rules

          Context Rules

          Context rules determine when a rule set applies in Industries Cart. Context rules are analogous to entity filters in the advanced rules framework.

          Context Rule Conditions

          Context rules contain one or more rule conditions that describe the conditions under which the rule should apply. Rule conditions are made up of context dimensions, context scopes, and context mappings.

          Rule conditions can be either:

          • Simple: A condition that compares a context dimension value to a context mapping value

          • Function: A condition that compares the output of the function to a static value

          Context rule conditions are one of several context rule components.

          Context Rules and Rule Sets

          Context rules are contained within rule sets. You then assign the rule set to a product, promotion, price list, price list entry, or virtual object. Context rules are never directly assigned.

          Create context rules in Vlocity Product Console. See Creating Context Rules.

          • Create Context Rules
            Context rules determine when a rule set applies in Industries Cart. Context rules contain rule conditions, which are made up of context dimensions, context scopes, and context mappings. Context rules are analogous to entity filters in the Advanced Rules framework.
          • Setting Context Rule Conditions
            Context rules can have one or more rule conditions. Rule conditions can be either:
          • Troubleshoot Context Rules and GetCartProducts API Issues
            When you use GetCartProducts API along with context rules, you can run into some issues. The table below lists some common issues and their resolutions.
           
          Loading
          Salesforce Help | Article