About Decision Tables
|
|
Use a decision table to derive a value that has one of a few possible outcomes, where each outcome can be detected by a test condition. A decision table lists two or more rows, each containing test conditions, optional actions, and a result.
At runtime, the system evaluates the rows starting at the topmost row:
Rules of four other types can reference decision tables:
Use the Application Explorer to access decision tables that apply to work types in your application. Use the Rules Explorer to list all the decision tables available to you.
When creating a rule that is to return only one of a small number of possible values, complete the Results tab before the Table tab.
After you complete initial development and testing, you can delegate selected decision tables to line business managers. The Table tab of the Decision Table form provides managers access to the fields most often updated.
For each decision table in your application, consider which business changes might require rule updates, and whether to delegate the rule to non-developers who then can make such updates directly. See How to build for change.
Decision table rules are instances of the Rule-Declare-DecisionTable class. They are part of the Decision category.
How to unit test a decision table | |
Atlas — Standard decision tables |