Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

About Decision Trees

Updated on July 5, 2022

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 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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us