Create a Decision Table

The process of creating a Decision table is same as creating Constraints. The Decision table is created in the Declare Constraint container.

After creating the Decision table their properties are defined. The mandatory fields in the properties section are denoted by asterisks. The decision table properties are as follows:

  • Name: While creating the decision table a default name Dt, Dt1, Dt2, and so on is automatically populated. When a decision table is created for the first time the first instance in the constraint container has the name as Dt, the second instance has Dt1, the third instance has Dt2 and so on. The Name field is mandatory.
  • Description: The decision table description is also populated with default description Dt, Dt1, Dt2, and so on. When a decision table is created for the first time, the first instance in constraint container has the description as Dt, the second instance has Dt1, the third instance has Dt2 and so on.
  • Rows: The number of rows which should be available initially in a decision table is defined in the Row field. By default, it displays 1. There are two ways to add or delete rows in decision table. The number of rows field in the property section can be updated multiple times. Also addition or deletion of rows is done using the decision table editor. The Rows field is mandatory.
  • Actions: The number of actions columns required in the decision table are defined in the actions field. By default, it displays 1. Maximum of ten action columns can be defined in a decision table. The actions column numbers can be updated at any time. If the updated action column number is less than the previously mentioned action column a warning message informing you that some of the existing actions columns would be deleted is displayed. The Actions field is mandatory.
  • Columns: The condition columns for the decision table are defined in the columns field. The columns field is divided into three sections Select All, Vars and Operators. The check boxes are displayed in front of Variables for selection. Select the check boxes corresponding to the variables in the decision table.