Skip to main content


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

Completing the Configuration tab

Updated on May 31, 2022

Complete the fields on this tab to restrict the possible values returned by this decision tree. Additional options allow you to control the actions that other users can take on the Decision tab.

Options

The fields in this section impact the initial presentation and available options on the Decision tab of the decision tree.

For example, you can prevent users from calling specific function aliases or adding new nodes to the tree structure. This helps you customize the development experience for delegated users, such as line managers, who may not require access to the full set of decision tree options.

All users, including delegated users, can remove these restrictions if they hold a rule editing privilege.

FieldDescription
Allow changes to function lists Select this check box to allows users to change the function aliases called by each tree node on the Decision tab.

Clear this check box to hide the function alias picker on the Decision tab. Users with rule editing privileges can still update the constant values in each tree node.

With this option selected you can:

  • Populate the Functions Allowed list to restrict the function aliases a user can select.

    Function aliases commonly used by managers include: CompareTwoValues, allEntriesSatisfyCondition, and anyEntrySatisfiesCondition.

  • Leave the Functions Allowed list empty to let users select any available function alias.

  • Open any function alias in the Functions Allowed list.

Allow adding of nodes to the decision tree Select this check box to allow users to append and insert top-level tree nodes on the Decision tab.

Clear this check box to hide the add icon on the Decision tab.

Allow selection of 'evaluate property' option Select this check box to allow users to evaluate the value of a property from a tree node on the Decisiontab.

Clear this check box to hide the evaluate option from then drop-down list on the Decision tab.

You must have the Allow adding of nodes to the decision tree option selected before you can change the state of this check box.

Allow selection of 'call decision' option Select this check box to allow users to call a map value, decision tree, or decision table from a tree node on the Decision tab.

Clear this check box to hide decision rules from the list of available options in the then statement of the Decision tab.

You must select the Allow adding of nodes to the decision tree option before you can change the state of this check box.

Allow selection of additional return actions Select this check box to make the Take Action option visible on the Decision tab. Users can take action within each tree node or as part of the otherwise statement on the Decision tab.

With this option selected, you can:

  • Populate the Allowed Action Functions list to restrict the function aliases a user can call from an action.

    The setPropertyValue function alias is commonly used by managers.

  • Leave the Allowed Action Functions list empty to let users call any available function alias.

  • Open any function alias in the Allowed Action Functions list.

Results

Use the options in this section of the tab to define the possible values this decision tree can return. You can also specify a list of preset properties that are calculated before the decision tree runs.

To define allowed results:

  1. Enter a property or linked property name in the Results defined by property field.

    This property must use table validation because the table values are used to populate the Result field.

  2. Select a value from the Result list.

    Alternatively, you can enter a string value without quotes to supplement the existing values from the property that uses table validation.

  3. Define a list of Target Property and Value pairs that are set when the decision tree returns the corresponding Result.

    You can enter a constant, property name, or expression in the Value fields.

  4. Repeat steps 2 and 3 as necessary.

At run time, the system sets target properties using the order you specify.

To define preset properties:

  1. Enter a property name in the Property field.

  2. Enter a constant, property name, expression, or input parameter in the Value field.

  3. Click the add icon and repeat this process for as many properties as are required.

These properties are set before the Decision tab is processed.

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