About Decision Trees
Use a decision tree to record
if .. then
logic that calculates a
value from a set of test conditions organized as a tree structure on the Decision tab, with the
'base' of the tree at the left.
The following tabs are available on this form:
Where referenced
Rules of four other types can reference decision trees:
- In a flow rule, you can reference a decision tree in a decision shape, identified by the Decision shape .
- In an activity, you can evaluate a decision tree using the Property-Map-DecisionTree method.
- A Declare Expression rule can call a decision tree.
- A collection rule can call a decision table.
Access
Use the Application Explorer to access decision trees that apply to work types in your current work pool. Use the Records Explorer to list all decision trees available to you.
Development
The Decision tab offers various formats and choices, depending on settings on the Results tab:
- For an advanced decision tree, complete the Input tab before the Decision tab.
- For a basic decision tree, complete the Results tab first. To restrict the results to one of a few constant values, complete the Results tab before the Decision tab.
After you complete initial development and testing, you can delegate selected rules to line managers or other non-developers. Consider which business changes might require rule updates and if delegation to a user or group of users is appropriate. For more details, see Delegating a rule or data type.
Category
Decision tree rules are instances of the Rule-Declare-DecisionTree class. They are part of the Decision category.
Previous topic Completing the Table tab Next topic Creating decision trees