The Decision Table element provides a graphical representation of the 'decision table' expression. When a Decision Table has been dragged onto a rule or an attribute the Create Decision Table wizard is displayed. The user must set the following options:
When the user hits the Next button, they can use an existing rule; or choose to create a new rule.
Properties:
The following table lists specific properties items for this element:
Name | Description |
---|---|
Class | The name of the rule class that is chosen as a type. This is visible in the Business Tab. |
Attribute | The name of the attribute containing the Decision Table. This is visible in the Business Tab |
Single Item | Only one item returned from the element. This is visible in the Technical Tab. |
Behavior when no items found | Return either one of these results (error, return null) when no items found. This is activated when the 'Single Item' box is checked. |
Behavior when multiple items found | Return either one of these results (error, return null, return first, return last) when multiple items found. This is activated when the 'Single Item' box is checked. |
Pop-up menu:
The following table lists specific pop-up menu items for this element:
Name | Description |
---|---|
Edit Decision Table | Change the Result Type or the associated attribute. |
Add new row. | Ad done new row to the decision table. |