Example for decision tables
Bound decision table
Partially bound decision table
Unbound decision table
Property |
Description |
Rules |
If this switch is activated, the decision table is executed in the rule processing. |
Always allowed |
The switch is only available if the Rules switch is activated. The Always Allowed switch determines that the decision table is always running, and prohibition rules can be created that prevent execution. Conversely, permission rules can be formulated that allow execution if this switch is switched off. The creation of permission rules makes no sense if the always allowed switch is set. |
A
permission rule can be created by clicking on it
A
prohibition rule can be created by clicking on it
Context menu of the column title
Action |
Description |
Control variable |
You can specify a control variable that determines the comparison value for the fields in the column. Control variables are required for all columns in a decision table when it is included in the rule check. |
Append input column |
The selection allows you to add another input column to the decision table. A control variable must be specified if the decision table is to be included in the rule check. |
Attach output column |
The selection allows another output column to be added to the decision table. A control variable must be specified if the decision table is to be included in the rule check. |
Copy/paste column |
The entire column can be copied and added as a new column to the decision table. |
Delete column |
The selected column is deleted. |
Columns can be moved with the mouse.
Context menu of the row title
Action |
Description |
Copy list row/Insert copied row |
The entire row of the decision table can be copied and pasted to the decision table. |
Insert new row |
A new blank row is inserted at the desired location. |
Delete row |
The selected row is deleted. |
Rows can be moved. Decision tables are processed from top to bottom.
Fields for inbound columns
Field contents in input columns are checked using the key term Is.
Examples:
Is = "RAL1001"
Is IsA ::[Sigma 75]
Is >= 10 And Is <= 100
Is > Price
Fields in output columns
Field contents in output columns are interpretable expressions, as they are also used in function programming. For example, strings with the double or single commas must be framed and decimal numbers shall be specified with the decimal point (.) without exception.
Unbound decision tables
If a decision table is created without missing control variables, it can only be checked with the CheckByParam or CheckByInValues attribute functions of the decision table.