Create a long/short/byte variable
- Open the process map in which to create the variable.
-
On the process modeling bar, click
Variables and click
New.
The New variable dialog box is displayed.
-
Enter a unique
Name for the variable.
By default, the name of the variable becomes the ID of the variable; however, you can change the ID if needed.
- On the Type list, select Byte, Long or Short. (Default: String)
- Optional. To use the variable for process initialization, select Initialization.
-
To enter a
Value, do either of the following:
-
Static: Provide a static value.
-
Expression: Right-click in the rule editor box and enter an expression using process or server variables or functions. Click Validate to validate the expression.
-
-
For
Variable display properties, enter the acceptable range of values for minimum
and maximum values.
The default values are:
-
Byte: (Minimum: 0); (Maximum: 255)
-
Long: (Minimum: -2147483648); (Maximum: 2147483647)
-
Short: (Minimum: -32768); (Maximum: 32767)
-
-
Click
Add and close.
On generating a Create new job or activity forms for a process that has an initialization variable set with display properties, the configured properties are reflected in the corresponding controls added to the form.
This applies to capture and non-MFP forms only. - Save the process.