Chapter 7 Working with Decision Tables : Building Decision Tables

Building Decision Tables
After you create or open the decision table (SeeCreating, Opening, and Saving Decision Tables), you can build the table or edit what was built in a previous session. This section explains the basic procedure.
A decision table uses arguments defined in the VRF, which is a virtual rule function created in the BusinessEvents project. The arguments are concepts or events or both. To build the table you drag arguments to the conditions area or the actions area as appropriate.
Each row in a decision table can be thought of as an "if-then" sentence: "If X is the case, then do Y." The "if" part of the sentence contains the condition or conditions. The "then" part of the sentence contains the action or actions.
To Build a Decision Table
1.
2.
For example, suppose the table will determine whether to accept a credit card application based on a bank users's age and credit score. You would drag and drop the BankUser concept’s age and creditScore properties from the Argument Explorer view to the Condition Area of the decision table.
3.
4.
5.
Drag concept properties to table cells and define formulae as needed (using functions or allowable symbols) to form the conditions and actions for a business rule. For example, each row could define actions to take depending on the age and credit rating of a credit card applicant.
String properties cannot start with an integer unless you wrap the whole value in quotes. For example: "12hello" is valid.
6.