Create a decision table
A decision table enables you to incorporate business rules in a decision model variant, using a tabular format.
To create a decision table:
-
Click and drag the Decision Table component from the palette to the decision canvas and click the Edit icon.
TipEach time you add a decision table to the canvas, a unique Decision Table tab displays. You can close the tab without deleting the decision table.
-
On the Decision Table tab, in the Decision Table Name field, enter an intuitive name for the decision table.
Ensure that the name you use represents the output of the decision table. This helps with readability when others attempt to understand the logic and purpose of the decision model variant.
-
Select the type of hit policy you want to apply. A hit policy determines how many rules can be simultaneously satisfied and which satisfied rules are included in the decision table result.
-
Unique
-
Any
-
First
-
Rule Order
-
Collect - click the + icon adjacent to the Collect header to access the Collect hit policies:
-
List
-
Sum
-
Count
-
Min
-
Max
-
-
-
Click Add Input Column and in the Add Input Column window, configure an input column to designate where to derive the input of the decision table. For example, use output from another decision or information from the guest data model. When you do this, you can either configure the input column to use guest data, configure the input column to use JavaScript, or configure the input column to use a data source.
-
Configure an output column to determine the source of the offer or content that the decision model variant returns to the experiment.
-
Add business rules to the decision table to apply the logic that must be satisfied to return the offer or content.
-
Click the Save button to save your changes.