Setting Row Priorities

Each row in a decision table represents a separate business rule. You can control the order in which sets of rows are executed using the row priority setting.

Rows with higher priorities are executed before those with lower priorities, as follows:

  • First, all conditions are checked for all rows that have the highest priority. The checking order within a set of rows with the same priority is not determinate.
  • Then the rule actions for all of those rows whose conditions evaluate to true are executed. The execution order is not determinate. The runtime engine optimizes rule execution.)
  • The process is repeated for all rows with the next highest priority, and so on.

Ten is the lowest priority and one is the highest. Five is the default priority.

Procedure

  1. Select the row whose priority you want to set.
  2. Click the Properties icon to display the Properties view.
  3. In the Properties view, and select the Rule side-tab.
  4. In the Priority field, select the appropriate value.
  5. Click the Save icon in the Edit toolbar to save the changes to the decision table.