You are here:
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 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.

