Back Forward About Decision Table rules

Decision category
New Table Results Pages & Classes History More...

Purpose

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 rule 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:

Where referenced

Rules of four other types can reference decision table rules:

Access

Use the Policy Decisions slice (Decision slice) or Application Explorer to access decision table rules that apply to work types in your application. Use the Rules by Type Explorer to list all the decision table rules available to you.

Development

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.

Delegation

After you complete initial development and testing, you can delegate selected decision table rules to line business managers. The Table tab of the Decision Table form provides managers access to the fields most often updated.

TipFor each decision table rule 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.

Category

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 rule

zzz Decision category
Help System home pageHome