Decision Tree
form
|
Completing this tab is optional. To restrict the possible result values for a decision tree to one of a fixed list of non-null constant values, enter the result values here in any order.
Fields on this tab also affect the capabilities and presentation of the Decision tab. You can add or remove restrictions and limit which functions can be referenced.
If the Redirect this rule check box is selected, the system at runtime ignores all the fields on this Decision Tree form other than the rule name, rule resolution details, and the value in the Circumstance Value field.
The basic format of the Decision Tree form is useful for those decision tree rules that are to be delegated to non-developer users.
Field |
Description |
Allowed Values Property |
Optional. Select a property in the Applies To class (or a parent class) that offers through the Table Edit tab, a list of values that are allowed results for this decision tree. Other aspects of this property may or may not be relevant to the rule. |
Allowed Results |
Optional. You can list allowed results and associate each with a set of property value changes that occur when this result is computed at runtime. If the Allowed Values Property field is not blank, values you list here supplement values provided by that property. |
(1..) |
Identify an allowed result value for this rule. Enter a constant of the appropriate type. See Constants in expressions. Do not use quotes around the value. If the Allowed Values Property field on the Input tab is not blank, select from the drop-down list. The system derives this list from information in the Table Values area of the General tab of that property. You cannot reference properties, functions, or expressions here. |
Click to access an optional array of properties and values. Clickto hide this array. When the decision tree rule evaluates and the value in this row is selected as the results, the system also recomputes the value of the target properties identified in this array. Order is significant. |
|
Sets Properties? |
A check button () indicates that this row includes properties and values. These may be hidden on the form. A clear button () indicates that no properties and values are defined for this row. |
Property |
Optional. Identify a target property to be updated with a new value. Click the pencil icon () to review a property rule. |
Value |
Optional. Enter a value for the property. You can use a property reference, constant, or other forms of an expression here. For guided assistance in entering functions and parameters, click the magnifying glass button () to start the Expression Builder. |
These fields control the appearance and capabilities offered by the Decision tab. Changes you make to these values affect only later changes; they do not alter the current Decision tab contents.
Field |
Description |
Options | |
Advanced |
Click to check all five restrictions. This defines the least restrictive form of the Decision Tree form.
|
Basic |
Click to clear four check box restrictions:
This defines the most restricted form of the Decision Tree form. |
Redirect this Rule |
This field appears only if this rule is circumstance-qualified. Select to indicate that another circumstance-qualified rule is to execute rather than this rule. Redirection lets you share the function and processing of circumstance-qualified rules, reducing the need to maintain separate rules that produce the same results. Create the target circumstance-qualified rule before creating any other rules that redirect to the target. For a redirected decision tree rule, other fields on this Results tab and all fields on the Decision tab are not meaningful. The Pages & Classes tab is not visible. Don't use rule redirection if the circumstance property is referenced as an input ion the Decision tab of the other circumstance-qualified decision tree rule. |
Circumstance Value |
This field appears only after you select the Redirect this rule box. Select a value from the list to identify the target of redirection. You can't redirect a rule to itself. However, use care to avoid creating a circular set of redirections (A to B and B to A). This causes a runtime exception. |
Allowed to Change Functions? |
Select or clear to indicate whether a developer (or delegatee) can change functions on the Decision tab. If this box is not selected, they may change only constant values. |
Allowed to Add Nodes? |
Select or clear to indicate whether a developer (or delegatee) can add nodes to the tree presented on the Decision tab. If this box is not selected, they may change only the values within the current tree structure. |
Allowed to Evaluate Properties? |
Select or clear to indicate whether a
developer (or delegatee) can select the
If this box is not selected, they may select only
the |
Allowed to Call Decision? |
Select or clear to indicate whether a developer (or delegatee) can update the rule to include calls to other decision tree rules on the Decision tab. |
Allowed to Take Actions? |
Select or clear to indicate
whether a developer (or delegatee) can view and choose
the |
Functions Allowed |
Optional. If you selected the Allowed to Change Functions? field, enter one or more function alias values to allow functions of that type to be selected by the manager. Leave this blank to make available all function aliases. These three are often useful:
The list shows
function alias rules with a Return
Type other than Click the pencil icon () to review a function alias rule. |
Default Function... |
If you entered more than one function in the Functions Allowed array, select one to affect the order in which function aliases appear on the Decision tab. |
Allowed Action Functions |
Optional. If you selected the
Allowed to Take Actions? field, enter
one or more of the function alias values to allow
appropriate functions to be chosen when the Select
List only
functions alias rules with a Return
Type of Click the pencil icon () to review a function alias rule. |
You can define a list of property updates that are applied before the system processes information on the Decision tab. At runtime, the system updates property values in the order listed.
Field |
Description |
Preset Property Values |
|
Property | Optional. Identify a target property to be updated with a new value. |
Value |
Enter an expression to compute a new value for the property. For guided assistance in entering functions and parameters, click the magnifying glass button () to start the Expression Builder. |