Decision Tree form
|
|
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.
Redirect a decision tree to leverage the functionality of a circumstance-qualified rule and reduce the need to maintain separate rules that produce the same results.
The following fields appear when a decision tree has circumstance-qualified versions defined:
Redirect this rule— Select this check box to instruct the system to redirect processing to a circumstanced-qualified version of this decision tree when it runs.
Circumstance Value— Select a property value from the drop-down list that identifies the target of the redirection.
Consider this guidance when using redirection:
After you redirect a decision tree, the system ignores all fields on the form, except for the rule name and other rule resolution details, and value in the Circumstance Value field.
After you redirect a decision tree, the Parameters tab becomes hidden.
Do not use redirection if the property in the Circumstance Value field is referenced in a field on the Decision tab.
You cannot redirect a rule to itself.
Avoid creating a circular set of redirection because it causes a run-time exception.
For example, do not define redirection from decision tree A to decision tree B if decision tree B already redirects to decision tree A.
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.
Field |
Description |
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:
|
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 thendrop-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:
|
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:
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.
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.
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.
Repeat steps 2 and 3 as necessary.
At run time, the system sets target properties using the order you specify.
To define preset properties:
Enter a property name in the Property field.
Enter a constant, property name, expression, or input parameter in the Value field.
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.