Prioritizing rules
You can configure rules in variations of all widgets including the global widget. A widget variation can have multiple rules as long as no two rules are duplicates and contradict each other. When a rule duplicates or contradicts a global widget variation rule, the widget variation rule trumps.
This topic describes with an example how rules within a widget variation get ranked.
In the Customer Engagement Console (CEC), on the Widget Variation page, on the Rules tab, the list of rules ranked in order of priority, includes:
-
All rules added to the widget variation.
-
All rules from the active global widget variation.
Each row or rule has a column dedicated to a rule section: Context, Merchandising and Settings. Columns for a recommendation widget variation also include Recipe.
The Rank column displays the priority the rule gets during application. If there is conflict between two rules, a red icon appears in the rule. When you hover over the icon, you get a warning message.
Example: Ranking and consolidation
Consider a widget variation with four rules as shown in the following screenshot.

The rule ranked 1 fetches results using the Random Products recipe and it only takes effect when the visitor is from Alaska, USA.
The red icons on rules ranked 2 and 3 indicate the following warning messages: Two or more behaviors have the same context. and The highest ranking behavior will take effect.
To override the assigned ranking, drag a rule up or down.
Consolidation
The following table describes how the rules and behaviors are consolidated by Context.
Context |
Rule and behavior |
---|---|
Visitor is from Alaska, USA |
Recipe used is Random Products. Cashmere-Blend Embroidered Cheetah Sweater is pinned to slot 2. Search Ranking uses the Reflektion Default Ranker algorithm. Sorting available by Name: A-Z, Price: Low to High, Customer Reviews: High to Low and Featured. |
All other visitors |
Products are pinned to slots 2 and 6. Search Ranking uses the Reflektion Default Ranker algorithm. Sorting available by Name: A-Z, Price: Low to High, Customer Reviews: High to Low, and Featured |