Create a currency/decimal/double/float 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 string variable.
By default, the name of the variable is set as the ID of the variable; however, you can change the ID if needed.
- On the Type list, select Currency, Decimal, Double, or Float variable. (Default: String)
- Optional. To use the variable for process initialization, select Initialization.
-
Choose one of the following for
Value.
-
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, define the following:
-
Acceptable range for minimum and maximum values. (Default Minimum value: -900719925474; Default Maximum value: 900719925474)
-
Decimal precision: The precise decimal value for the variable. (Default: 2)
-
-
Click
Add and close.
On generating a Create new job or activity forms for a process that has an initialization variable set with variable 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.