Evolve with your business logic by modifying the rows, default result values, or content of your decision table.

Define default result values

Account for changing business logic by defining default result values in your decision tables. Defining a default result accounts for scenarios when no decision rules are met by the input data.

Before you begin

Role required: admin

About this task

If no values are defined in the Default result row or you have cleared values from the row, no default results are returned.

Note: You can set default results for decision tables created prior to Decision Builder version 4, but no values are set automatically. The Default result row is compatible with any decision tables created outside of Decision Builder with a default answer specified. If you have the decision_result_editor role, you need an admin or user with higher level permissions to set the initial default result for any decision tables created in an earlier version of Decision Builder.

Procedure

  1. Navigate to All > Decision Management > Decision Builder.
  2. Select a decision table.
  3. Define at least one Result column in the decision table.
    With a result column defined, the Default result row appears at the bottom of the table.
  4. Define a default result for any columns that need one.
    Note: If any column has a default result value, and there are other result columns with the currency or true/false result types, those result columns automatically specify a default result. You can clear all default result values using the ellipsis menu on the row. However, if you add a default value in another column, currency and true/false result type columns auto-populate with a default value.
  5. Select Save.

Modify a decision rule in a decision table

Modify conditions and results to update a decision rule in a decision table.

Before you begin

Role required: admin, decision_table_admin, or delegated developer permissions. For more information, see Delegate developers using App Engine Studio.

Procedure

  1. Navigate to All > Decision Management > Decision Builder.
  2. Select a decision table.
  3. Select the cell that you want to edit.
    • Modify a condition in one of the following ways.
      • Select the operator and replace it with another operator.
      • Select the condition value and provide a new value.
      • Update both the operator and the condition value.
    • To modify a result, select the result value and provide a new value.
  4. (Optional) To modify a decision table condition in Decision rule view, select the Decision rule row menu options icon (Decision rule row menu options.) to the left of the row number, and then select Open in Decision rule view.

    Decision rule view supports complex conditions that may not fit into the table structure.

    Figure 1. Decision rule view
    Decision rule view.
    Note: Using Decision rule view can result in creating complex conditions. Tables with advanced rows can be edited in Excel but advanced rows are read-only. For more information, see Manage decision tables in Excel. Where possible, split complex decisions into multiple simplified decision rule rows.
    1. (Optional) Edit the condition as needed.
    2. (Optional) Select Done to commit your changes.
  5. Select Save.

Duplicate rows in a decision table

Save time and effort creating decision rules by strategically duplicating rows in a decision table.

Before you begin

Role required: admin, decision_table_admin, or decision_rule_author

About this task

Plan the best way to duplicate rows to maximize efficiency and save time creating your decision table. For example, if you have five rows that have the same first condition, fill in the condition in the first row, and then duplicate the rows. Rows can be duplicated at any time and any point in their completeness.

Procedure

  1. Navigate to All > Decision Management > Decision Builder.
  2. Open a decision table.
  3. On the far left side of the row you want to duplicate, select the Duplicate decision row below this row icon ().

Reorder decision rows in a decision table

Determine or change the sequence in which your decision rules are evaluated by reordering the decision rows in a decision table.

Before you begin

Role required: admin, decision_table_admin, or delegated developer permissions. For more information, see Delegate developers using App Engine Studio.

Procedure

  1. Navigate to All > Decision Management > Decision Builder.
  2. Select a decision table.
  3. Point to a decision row and select the Row drag and drop gripper icon (Row drag and drop gripper icon) in the far left.
  4. Reorder the rows by dragging the row to a new location.
  5. Select Save.