Action Stubs
Actions are another important component of a decision table as they represent actions to perform under a set of conditions. Actions are entered in the Action Stub area of a decision table. When LogicGem is used as a programmer's tool, these stubs are presumed to contain syntactically correct target source language statements. Pseudo code or English language type of statements may also be used here if you choose to use LogicGem as a business rule tool.
Up to 32,767 actions stubs can be entered in one decision table. Each action stub can have be up to 1,024 characters in length. The following process shows how to enter action stubs:
-
Click the mouse in the small empty area to the right of the Action Label A1, and an arrowhead points to the area.
-
Enter in the first action and a pencil icon will replace the arrowhead.
-
Click the mouse in the next blank action space beside the asterisk, to enter the next action. As each action is committed it is labeled in ascending sequence as A1, A2, A3 and so on.
-
Repeat step 3 to enter each action.