Adding variables to processes
To add a process variable
- In the Properties section, click Add/Remove Variables.
- Click Add Variable.
Enter the variable field details as described in the following table:
Field Name
Description
Name
Specify a suitable name for the variable.
Variable ID
Specify an unique ID for the variable.
This value must be numeric.Variable Type
Specify whether the variable is an input/output parameter or a local variable. For an input parameter, if you select the Variable Type as Input Required and Data Type as Text or Record, a context key is set automatically. For more information about a context key, see Input variable.
Process input parameters and output parameters are the interfaces of a process. When starting a process, data is passed to the input parameters, and when the process is complete, data is received from the output parameters. The only exception to this process is the Record data type.A Local Variable facilitates process execution. It can be used to capture the result of a process activity, such as signal input of a Receive Task or a loop data item for a multi-instance loop.
Description
Provide a description that clearly indicates the purpose of this variable.
Data Type
Select the required data type for the variable. For more information, see Process-variables-and-data-types.
Notes:- If you select Record as the Data Type, you must select a Record definition that you want to associate with the parameter.
- If you select Selection as the Data Type, you must specify the options that will be displayed in the selection list.
- (Optional) If you select Object as the Data Type, you can select the Document definition that you want to associate with the parameter.
Default Value
Specify a default value for the parameter.
List
If you want to create a list of attachments or texts, select the List toggle key
.
- (Optional) To add more parameters, repeat step 2 through step 3.
- Click Save.