Overview
Automation scripts rely heavily on Variables.
Variables allow data to be moved throughout the script. Many actions rely on input and many produce output that can be later used in other actions.
Adding Variables through Actions

Typically, a variable will be added while you design your script.
Once you drag an action onto the designer, click the Click for Options link to bring up the Options dialog.

For this particular action we have a Output field that will be set to a variable.
Click the button to the right of the field.

The Variables dialog will be invoked.
If Variable of the required type already exists, they will show in the list.
To create a new Variable, cilck the New button.

Type in the Variable name and click Ok.

The new Variable will be shown in the list.
Select the Variable and click Ok.


Adding Variable Directly

Under the Variable section, click on Create Variable to create a new variable.
This will default to a string Variable Type. Click the String type and select the appropriate Variable Type.

You can also add a Variable by clicking the Add Variable button under the Automation group.

Type in a name, select a common Variable Type and click Ok.
The Variable will be added to the Action that is selected depending on if that Action is able to accept Variables.
Deleting a Variable

Scope

