Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Introduction to Sitecore Personalize
Managing accounts and system settings
Identifying guests
Introduction to experiments
Introduction to experiences
Decisioning
View dashboards
Developer Center
Connecting to an external system
Using client-side JavaScript
Using server-side JavaScript
AI in Personalize
Glossary
  • Sitecore Personalize
  • Introduction to decisioning in Sitecore Personalize
  • Managing decision tables in Sitecore Personalize
  • Manage rules in a decision table

Manage rules in a decision table

When you add a rule to a decision table, you add inputs and outputs. The input you enter is the true or false condition that must be met in order for the output to be returned. The input type you can enter depends on the type you selected when you configured the input column. For example, 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.

  2. In the new row that displays in the Input column, you can configure the input using these options:

    • Use a default operator - click the Input column, select an operator, and enter one or more input values.

      Click the Input column to select an operator to match the entered input.
      • Match one of - compares the input to a list of specified values and returns a match if any value in the list matches. For example, validate guest emails by entering approved addresses like [email protected], [email protected].

      • Match anything except - ensures the input does not match any value from a specified list. For example, exclude email addresses like [email protected], [email protected].

      • Match if contains - verifies that the input partially matches all specified substrings. For example, match all guest emails that include both gmail.com and john, such as [email protected].

      • Match if does not contain - confirms that the input does not contain all specified substrings. For example, exclude all emails that include gmail.com and john.

    • Enter input value manually - double-click the Input column to enter or edit a value. You can manually input a specific value, a logical expression, or use conditional operators, such as && and ||, as needed.

      Double click the Input column to manually enter or edit a value.
  3. Click the Output column of the new row.

  4. In the dialog that displays, enter an output. The output type you can enter depends on how you configured the output column.

    If you connected an offer knowledge source to the decision table, a prepopulated list of offers displays for selection.

  5. Press Enter. The output you entered displays in the row of the Output column.

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

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore