You are here: Reference > Rule types > Decision Trees > Decision Tree form - Completing the Parameters tab

Decision Tree form Completing the Parameters tab

  1. About 
  2. New 
  3. Decision 
  4. Configuration 
  5. Parameters 
  6. Pages & Classes 
  1. History 
  2. More... 

Complete this optional tab if you want to refer to parameters (using the syntax param.name) as inputs on the Decision tab. If used as a source of values, the parameter values must be set (for example, using a data transform) before the decision tree is run.

Field

Description

Parameters add row
Name

Enter a name for the parameter. A parameter name must be a valid Java identifier. See How to enter a Java identifier.

The name cannot start with pz, and cannot be a reserved name. If this activity is to be referenced in a flow, the name cannot match any of the system-supplied parameters.

Description

Enter a text description of this parameter. This description is displayed when a developer completes parameter values.

Data Type

Parameters have a type similar to Single Value properties. Choose the type of data that is expected as the value for the parameter:

String A Java String value
Boolean A Boolean value
Integer An integer value

When entering parameters to call an activity, the value for Boolean is the same as for properties of that type:

  • The preferred values are the text constants true and false.
  • The following values are equivalent to true: Any non-zero numeric value (integer or double), the text constants on, yes, t, and any value starting with a y.
  • Any other value corresponds to false.

About Decision Trees