Skip to main content

Manage rules in a decision table

Abstract

Overview of how to add and manage rules in decision tables (Sitecore Personalize).

When you add a rule to a decision table, you add inputs and outputs. The input is the true or false condition that must be met in order for the output to be returned. The type of input you can enter depends on the type you selected when you configured the input column. If you selected the guest data option when configuring the input column, a list of inputs to select from displays within the Input field.

Note

Before you can add rules to a decision table, you must create the decision table and configure the input and output columns.

To add rules to the decision table:

  1. On the Decision Table tab, click the Add Rule link. A new row displays for you to add a rule.

  2. Click the Input column of the new row.

    A window displays for you to enter input. The input type you can enter depends on how you configured the input type.

  3. In the Input field, enter an input. This is the true or false condition you want the rule to satisfy.

  4. Press the Return key. The input you entered displays in the row of the Input column.

  5. Click the Output column of the new row.

    A window displays for you to enter an output. The output type you can enter depends on how you configured the output column.

  6. In the Output field, enter an output. If you connected an offer knowledge source to the decision table, a prepopulated list of offers displays for selection.

  7. Press the Return key. The output you entered displays in the row of the Output column.

  8. Click Save. You can continue adding rows, as required.