Decision tables

A decision table groups rules that share a rule statement but have different conditions and actions.

A decision table contains rows and columns that work together to form rules. The decision engine executes the rules row by row, from the first row to the last row.

In the following table, each numbered row expresses a rule. The columns define the conditions (Grade and Amount of loan) and actions (Insurance required and Insurance rate) of the rules in the table. The cells at the top of the table are the column headers, which hold the names of the columns.

  Grade Amount of loan Insurance required Insurance rate
Min Max
1 A < 100,000 false 0.001
2 A 100,000 300,000 true 0.001
3 A 300,000 600,000 true 0.003
4 A ≥ 600,000 true 0.005

To create a rule, you add a row to the decision table and enter values in the new cells. When an application calls the table, it runs the rules. If the conditions in a row are met, the rule that is formed by the row does the actions in the row. You can also define preconditions that apply to all the rules in a table, and warning tags during development show overlaps, gaps, and other errors in your rules.

In the Business console, you can use the keyboard shortcut Ctrl+F to open a search field within the decision table. The search is done on all values of the decision table.