Variables are similar to arguments but are scoped to a certain sequence. Variables of a process can be managed from the Variables panel.
The variables panel lists down all the variables that are created in a process. It also displays the corresponding data type, direction and the default value that is assigned to each variable.

Creating a Variable
Variable can be created either by adding it directly from the variables panel or by using the available expression editor in any property of an activity.
Using Variable Panel
Variables can be added in the variable panel by clicking the ‘Add Variable’ button. Default value can be set for the variable by double clicking on the ‘DefaultValue’ field for a particular variable.
A particular variable can be renamed by clicking on it and amending the name of the variable. If a variable is renamed, it will be reflected wherever that particular variable is used.
A variable’s Data type can be changed by selecting the preferred Data Type from the dropdown list under the column –Type in the variables panel. The default type of a variable when it gets created is String.
To delete a variable, right-click on the particular variable in the variables panel and select the delete option.

Using Expression Editor
An expression is a combination of functions, constant, operators and operands that can be used to perform calculations, manipulate variables and concatenate strings to return a value while being parsed.
In the expression editor, an expression can either be typed manually or the required functions, operators and operands can be selected using the expression editor.
Click on the expression editor and press control + k to create a variable. Then, a Set variable field is displayed. The type will be auto-generated depending on the selected property field.
- To save the variable, press enter. The created variable will be visible in the variables panel.
- To cancel creation of the variable, press esc.

Creating an Argument
Arguments are similar to variables but are scoped to a particular process. That is, an argument can be accessed or modified within any sequence inside a process.
Arguments of a process can be managed from the Arguments panel. The arguments panel lists down all the arguments that are created in a process. It also displays the corresponding data type, direction and the default value that is assigned to each argument.

Create an Argument
To create an argument, click on the ‘Add Argument’ button at the bottom of the Arguments panel. Default value can be set for an argument by double clicking on the ‘DefaultValue’ field for a particular argument.
Rename an Argument
An argument can be renamed by clicking on a particular argument and amending the name of the argument.
An Argument’s Data type can be changed by selecting the preferred Data Type from the dropdown list under the column –Type in the Arguments panel.
Delete an Argument
To delete an argument, right-click on the particular argument in the Arguments panel and select the delete option. Deleting the argument will not remove any activities or sequences using that particular argument.

Note: Ensure that the argument/variable is no longer used in any of the sequences before deleting it to avoid errors while executing the project.







