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.

Field Description
Data Type Choose String, Number, or Boolean to specify how the system evaluates the comparisons defined on the Decision tab when an optional parameter value is supplied in the Property-Map-DecisionTree method.

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 String, then a comparison of "007" < "7" is true. If the method parameter is "007" and the Data Type is Number, then the comparison of "007" < "7" is false.

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

Property Optional. Enter a Single Value property reference, or a literal value between double quotes. (If your property reference doesn't identify a class, the system uses the Applies To portion of the key to this decision tree as the class of the property).

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