Configuring property evaluation in a decision tree
The run-time result of a decision tree can depend on the value of a property or the optional, third parameter of the Property-Map-DecisionTree method.
The following fields are visible when the Allow selection of 'evaluate property' option check box on the Configuration tab is selected. Use them to configure the property used by evaluate nodes in the decision tree.
|Data Type|| Choose |
The Data Type value you select affects comparisons on the Decision tab when the system obtains the input value as a method parameter.
For example, if the method parameter is "007" and the Data Type is
The Data Type is ignored when the property identified in the next field is used at runtime. In that case, comparisons depend on the type of that property.
This Data Type is independent of — and need not match — the type of the property to contain the decision tree result (the first parameter to the Property-Map-DecisionTree method). For example, you can evaluate comparisons of inputs based on numbers and return a result property of type
|Property|| Optional. Enter a |
At runtime, if the value of the third parameter to the Property-Map-DecisionTree method is blank, the system uses the value of this property for comparisons.
|Label||Optional. Enter a text label for the input property. This label appears on the Decision tab. Choose a meaningful label, as certain users may see and update only the Decision tab.|
- 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.
- Creating decision trees
Calculate a value from a set of properties or conditions where true comparisons can lead to additional comparisons, organized and displayed as a tree structure, by creating a decision tree. For example, you can create a condition that checks whether the location of a job candidate is equal to a specific city. If the condition is true, your application evaluates additional conditions, such as work experience and education.
- Viewing rule history
You can view the saved history of a rule to see when it was changed and by whom. You can also compare the current version with a previous version or restore a previous version of a rule for testing purposes, or if the current version is faulty.
- More about Decision Trees