The first row of the decision table contains the
Decision Table label to the left and controls to add or delete rows or columns to the right. From left to right, controls available are:
Add Rule Before, Add Rule After, Remove Rule, Add Column Before, Add Column After, and Remove Column. The second row contains
the Hit Policy Indicator cell that has the
Any hit policy selected, a first Input Expression cell that has the input variable
Age used as the input expression, a second Input Expression cell that has the input variable
Work_Experience used as the input expression, and an Output Label cell that contains the name of the decision,
Bonus Percent. There is an Allowed Values cell within each Input Expression cell and the Output Label cell. The value for this cell is
set as
Auto for Input Expression cells and as
Any for the Output Label cell. There are three subsequent rows that constitute rules of the decision table. Each row consists
of a cell indicating the rule number (starting from 1 to 3), an Input Entry cell in the first Input Expression column, another
Input Entry cell in the second Input Expression column, and an Output Entry cell in the Output Label column. Values entered
in input and output entry cells for each rule are as follows:
-
First rule: dash, >=20, and 10
-
Second rule: >=50, dash, and 10
-
Third rule: <50, <20, and 5