Specify a Decision Table's Logic

Follow these steps to configure logic for a decision table.

  1. Double-click a decision table node on the canvas to access its logic editor.
    Alternatively, select the node, and click Edit or View Decision Logic icon on the sidebar.
  2. Specify the hit policy for the table.
    1. Click the hit policy cell.
    2. In the dialog box that appears, select the required policy. Click Close Close icon.
  3. Configure expressions for the input columns.
    1. In the first input column, click the Enter Expression field to view a suggestion list, containing decision outputs, input variables, functions, and keywords.
    2. Define the expression for the column using the suggestions or write your own.
      The Allowed Value cell is automatically populated based on the input expression.
    3. Add additional input columns if necessary, and repeat the steps to enter expressions for all input columns.
      To add a new input column, click the header cell of an existing input column and then click Add Column After Add Column icon.
  4. Optionally, enter a name for the output column. It is initially titled Output. You can change it to a name of your choice.
  5. Configure allowed values for the output column. Initially, the mode for allowed values is set to Any Any icon.
    1. In the output column's header cell, click Any Any icon.
    2. In the dialog box that appears, perform the following actions:
      1. In the Mode field, select the desired allowed value type.
      2. Indicate whether the allowed values should be a single value, a list, or a range.
      3. Specify the permitted values for cell entries of the output column.
      4. Click Close Close icon.
  6. Add and configure rules (that is, rows of the table).
    1. In row 1, double-click the first input entry cell, and select a value from the suggestion list that appears.
      The suggestion list contains allowed values for the column.
    2. Similarly, enter values for all cells of the table.
    3. To add additional rules (rows), click Add Row After Add Row icon.
  7. For other actions that you can perform in the decision table editor, see About Decision Table Elements.
Changes you make within the decision model are automatically saved and validated. Errors and warnings, if any, are displayed in the editor. Click the error or warning icon to review and fix them. See Review and Fix Errors in a Decision.