Back Forward Decision Tree form
Completing the Input tab

About Decision Tree rules

The Input tab is present only when the Allowed to Evaluate Properties box on the Results tab is selected.

Complete the Input tab before the Decision tab. The runtime result of a decision tree rule can depend on the value of a property identified on this tab, or of the optional third parameter of the Property-Map-DecisionTree method.

Field

Description

Parameter  
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  
Property

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

zzz About Decision Tree rules