Configuration Recommendation Rules
Overview
What are they?
Recommendation Rules can be used to help buyers configure your products by offering suggested attribute values. For each configuration where a model (or part) would likely have certain attribute values, you can create a recommendation. For example, a Meat Lovers pizza has only pepperoni and sausage as toppings and this can't be modified by the user. A recommendation rule can achieve this.
How do they work?
When recommendations trigger, they appear to buyers on the Model Configuration page. By default, recommendations display as text next to the configuration attributes with recommended values. They also use set types, that when enabled, can auto-populate the recommended values in the attribute fields.
| Set Type | Description |
|---|---|
| None | The selected value for the action attribute in the rule will be recommended value for the attribute. It will show as a message and it can be modified by the user. |
| Set | The setting of a recommended value can be prevented by locking the attribute, in which case, only the recommended values message is shown. This can be modified by the user. |
| Forced Set | The rule will set the attribute value to the value chosen in the rule. This value is read-only and cannot be modified by the user. |
The Set Type that defines how a Recommendation rule will set an attribute can be defined in three places:
- In the attribute
- In a Recommendation rule that acts on the attribute
- In a Configuration Flow where the attribute is on the layout (Override must be checked)
When a Recommendation rule is fired, the system will look at all three of these locations to determine the Set Type. The “strongest” Set Type (with Forced Set being the strongest, Set being in the middle, and None being the weakest) will be used, regardless of where it is defined.
If one location says “Forced Set,” one says “Set,” and one says “None,” the attribute will be Forced Set. If two places say “Set” and one says “None,” the attribute will be Set, and so on and so forth.
When Auto Lock is on, user selections made to an attribute after a Recommendation rule “Set” the attribute to a different value will be retained if the Recommendation Rule is fired again (such as upon an Update).
For example: Recommendation rule 1 runs and sets Attribute X to A. The user then sets Attribute X to B. The user then clicks Update, and Attribute X retains its value of B. The recommendation message defined in Recommendation rule 1 for option A will appear.
- Auto Lock is on by default for all Recommendation rules that have a set type of “Set.” The Admin can turn Auto Lock off within an attribute by selecting “Set” for the set type and by not selecting Auto Lock. If this were done to Attribute X, the user would experience the following:
- Recommendation rule 1 runs and sets Attribute X to A. The user then sets Attribute X to B. The user then clicks Update, and Recommendation rule 1 runs and sets Attribute X to A.
Multiple Recommendation Rules Firing Simultaneously on an Attribute
If multiple Recommendation rules fire simultaneously on the same attribute, and if the attribute is not a Multi-Select Menu attribute, then only one Recommendation rule will set the value of the attribute. Recommendation rules are sorted for precedence according to the following criteria (in order):
- Descending order by where the rule is defined in the product hierarchy (Model level first and All Product Families level last)
- Descending order by number of attribute inputs for an advanced action’s function. For example:
- Advanced action function with 5 attribute inputs
- Advanced action function with 3 attribute inputs
- Advanced action function with 1 attribute input
- Simple action
-
Ascending order by the order number in the Recommendation Rules List.
Multiple Recommendation Rules Firing Simultaneously on a Multi-Select Menu Attribute
For any Text, Float, or Integer attribute that has Multi-Select Menu selected for its attribute type, it is possible that multiple Recommendation rules could fire simultaneously and act on different selections within the same attribute. For example:
- Attribute X has options A, B, and C.
- Recommendation rule 1 force sets Attribute X to A.
- Recommendation rule 2 sets Attribute X to B.
- Recommendation rule 3 sets Attribute X to C.
In this case all three options, A, B, and C will be force set. The strongest set type will apply to all Recommendation Rules if there are multiple rules acting on the same multi-select attribute at the same time.
Recommendation Rules and Search Flows
Recommendation Rules are applicable in Search Flows. If a Recommendation Rule is defined at the Product Family level, then you are given an option to specify the area of application of the rule. See Editing Recommendation Rules.
Administration Pages
| Item | Description |
|---|---|
|
1 |
The rule Actions menu provides the following functions:
|
|
2 |
The Basic Details section contains general information about the rule.
|
|
3 |
The When section is used to define the conditions that specify when a rule should run. There are three options: Always True, Simple, and Advanced. Always True: The rule will fire automatically, every time, because there are not any conditions to be met.
Add conditions to select the necessary condition attributes and define the conditional values.
The order in which the conditions are evaluated in are defined in the Add or change () to change grouping field.
|
|
4 |
The Then section is used to define actions (i.e. what will happen if the conditions are met).
|
Administration
Add / Edit a Recommendation Rule
Complete the following steps to add or edit a Recommendation rule.
-
Navigate to the desired product level:
- All Product Families: Admin Home > Configurations
- Product Family: Admin Home > Configurations > Product Family
- Product Line: Admin Home > Configurations > Product Family > Product Line
- Model: Admin Home > Configurations > Product Family > Product Line > Model
- Click the Edit
icon for the desired level.
- Select Rules in the left navigation.
-
Create or edit a rule:
-
To create a new rule click + Rule.
-
To edit an existing rule, click on the desired rule.
-
-
Define or edit the Basic Details options:
- What is the rule type? Recommendation.
- What is the rule name? Enter the name of the rule.
-
Variable Name: Enter a variable name for the rule. The Variable Name field populates automatically. The entry can be changed before saving, but after saving the value is read-only. Variable names can only contain alpha-numeric characters and underscores.
-
Description: If desired, enter a rule description.
Click the Summarize
icon to leverage generative AI to automatically produce human-readable summaries of rule logic, helping administrators quickly grasp the purpose and impact of rules without parsing complex expressions or condition sets.
- Ajax enabled for JET UI: When enabled, the rule will automatically run when conditions are met. The rule will run without refreshing the page or performing an action.
-
Set the Effective Start Date and Effective End Date to specify how long the rule will remain in the chosen status.
If no duration is specified, the rule maintains its status until an administrator changes it. -
Set the status:
- Active: Rule is fired when the condition is met.
- Internal: Rule is active only for FullAccess users; it is inactive for all other users.
- Inactive: Rule is not fired, even if the condition is met.
-
Set the Condition Type and add conditions in the What section.
Always True The rule fires automatically.-
If applicable, set Condition Type to Always True
-
No conditions are defined.
Simple Select attributes and define simple conditions.- Set Condition Type to Simple.
- To add a condition, click +Add Condition.
- Select an attribute from What is the attribute to associate to this condition?
- Set the Operator for the condition.
- Enter or select the Value.
- Click Create.
- Repeat this step to add additional conditions.
- Click the Delete
icon to remove a condition.
- Set the match criteria:
- Match All if all of the conditions must be met.
- Match Any if any condition needs to be met.
- Click in the Add or change () to grouping field to define custom grouping.
For example,(1 OR 2) AND 3 - Select Convert to Advanced Condition to convert the simple condition to an advanced condition.
Advanced Use the function editor to select attributes and define advanced conditions.- Set Condition Type to Advanced.
- Click Define BML Function.
- Enter the Function Script.
- Click Save.
-
-
Define recommendations in the Then section.
Set the action type and add recommendations.
Simple: Use the rule editor to add recommendations.-
Set Action Type to Simple
-
To add a recommendation, click + Add Recommendation.
- Select an attribute from What is the attribute to set a recommend value for?
-
Select the Value Type and Select Values:
-
Simple: Select applicable attribute values from Select Values.
-
Advanced Function: Click Define BML Function to define attribute values.
-
- Choose the Set Type:
- None: The user can input any value without encountering an error message.
- Set: A recommendation rule can change the value entered by the user unless the attribute is locked by the user.
Forced Set: A recommendation rule will change the value of the attributes regardless of what the user enters and if the attribute is locked or not.
- Enter the recommendation Message to display.
- To use BML to define the message, select Use an Advanced Expression to Define the Message.
- Click Save.
-
Click the Delete
icon to remove a recommendation.
Table Based Select recommendations from a Data Table.-
Select the applicable Data Table from the Select Table menu.
-
To add a Data Table filter, click Specify Filter.
-
Click + Add Filter, then add the following:
-
Select the applicable Table Column and Operator.
-
Set the Value Type
-
Static: Enter specific values.
-
Attribute: Choose an attribute for the value.
-
-
Enter or select the applicable Value or Value Attribute.
-
Click Save.
-
-
To add another filter, click +Add Filter, then define the table column, operator, and value.
-
Set the filter match criteria:
-
Match All if all of the conditions must be met.
-
Match Any if any condition needs to be met.
-
Click in the Add or change () to grouping field to define custom grouping.
For example,
(1 OR 2) AND 3
-
-
Click the Delete
icon to remove a filter.
-
-
Select recommendation attributes.
-
Click Select Attributes, then click + Add Recommendation.
-
Select the Attribute to constrain.
-
Select the Table Column that will populate the attribute.
- Choose the Set Type:
- None: The user can input any value without encountering an error message.
- Set: A recommendation rule can change the value entered by the user unless the attribute is locked by the user.
Forced Set: A recommendation rule will change the value of the attributes regardless of what the user enters and if the attribute is locked or not.
-
Enter the recommendation Message to display.
-
To enter static messages, select Static then enter the Message.
-
To select messages from a table, select Column then select the Column with the messages.
-
-
Click Save.
-
-
To add another recommendation, click +Add Recommendation, then define the attribute, table column, and message.
-
Click the Delete
icon to remove a recommendation.
-
-
Click Test Table Results, then click Execute to view the constraint results.
Bulk Table Lookup Use data tables to define and map bulk recommendation items.-
Set Action Type to Table Lookup.
-
Select Table: Select the Data Table from which you would like to retrieve data.
-
If applicable, click Specify Filter to filters for the Data Table data.
-
To add a Data Table filter, click Specify Filter.
-
Click + Add Filter, then add the following:
-
Select the applicable Table Column and Operator.
-
Set the Value Type
-
Static: Enter specific values.
-
Attribute: Choose an attribute for the value.
-
-
Enter or select the applicable Value or Value Attribute.
-
Click Save.
-
-
To add another filter, click +Add Filter, then define the table column, operator, and value.
-
Set the filter match criteria:
-
Match All if all of the conditions must be met.
-
Match Any if any condition needs to be met.
-
Click in the Add or change () to grouping field to define custom grouping.
For example,
(1 OR 2) AND 3
-
-
Click the Delete
icon to remove a filter.
-
-
-
Click Map Bulk Recommendation to map recommendation properties.
Select the Source and Value for the recommendation properties:
-
Attribute to Populate: Select the applicable column for the Value.
-
Value to Populate: Select the applicable column for the Value.
-
Set Type:Select the Source, then select the value.
-
Table Column: Select the applicable column for the Set Type Value.
- Static: Choose the Set Type from the Value menu:
- None: The user can input any value without encountering an error message.
- Set: A recommendation rule can change the value entered by the user unless the attribute is locked by the user.
Forced Set: A recommendation rule will change the value of the attributes regardless of what the user enters and if the attribute is locked or not.
-
-
Message to User: Select the Source, then select or enter the value.
-
Table Column: Select the applicable Table Column from the Value menu.
-
Static: Enter the message to display in the Value field.
-
-
-
To verify data, click Test Table Results.
-
In the Input Section, the Column will already be set (and read-only).
-
Enter the Value to test and click Execute.
-
-
Complete the following steps to delete a configuration rule.
-
Navigate to the desired product level:
- All Product Families: Admin Home > Configurations
- Product Family: Admin Home > Configurations > Product Family
- Product Line: Admin Home > Configurations > Product Family > Product Line
- Model: Admin Home > Configurations > Product Family > Product Line > Model
- Click the Edit
icon for the desired level.
- Select Rules in the left navigation.
- Right click on the configuration rule's actions ellipsis, then select Delete.
- Click Delete in the confirmation dialog.
Notes
Warning: Deleted rules cannot be recovered.
Note: Rules can only be deleted at the level of the hierarchy in which they were created.





