Create process variables
- Open the process map in which to create a process variable.
-
On the Modeling bar, click
Variables.
The Variables page appears.
-
Enter a unique
Name for the variable,
such as CustomerName.
By default, the name of the variable becomes the ID of the variable; however, you can change the ID if needed.
-
Enter a unique
ID for the variable, such
as CUSTID.
For naming convention of name and ID, see Name conventions.
- On the Type list, select the type of variable to create.
-
Select, enter or configure a
Value for the variable.
Note the following:
-
To provide a dynamic value, at runtime, leave the Value empty.
-
In some nodes such as Email, C#, VBNET, and Decision, plain text is being replaced by variable with the same name. For example, if you have a variable called ID and if you type the text VOID, the plain text will be replaced by VO[ID]. This only happens at design time; at runtime the values validate and appear correctly.
See the following table for more information.
Type Process of creating this variable Bool Enter a value for this variable. Byte Enter a value for this variable. Checklist See Create a checklist variable. Complex See Create a complex variable. Currency Enter a value for this variable. Data Backbone See Create a data backbone variable. Date Enter a value for this variable. Decimal Enter a value for this variable. Document Consume a document from the extraction group. Double Enter a value for this variable. Dynamic Complex See Create a dynamic complex variable. Entity Consume the entity. Float Enter a value for this variable. Folder Consume a folder from the folder type.
JSON Expression Long Enter a value for this variable.
Nullable Date Either leave the Value box empty to allow the value to be null, or enter a date.
Nullable String Either leave the Value box empty to allow the value to be null, or enter a string value.
Short Enter a value for this variable.
String Enter a value for this variable.
System XML XML Expression -
-
Click
Yes to use the variable
for
Process Initialization.
This option is not available for a business rule.
- Click Add .
-
To change the initialization order for process initialization
variables:
- Click Initialization Order.
- Select the variable on the list.
- Click the Up or Down arrow as needed.
- Click Variables to return to the Variables page.