Professional Documents
Culture Documents
Variables
Types of Variables
Other
user
resources:
file:///C:/Users/AKASH/AppData/Local/Temp/~hh6328.htm 14/08/2017
Variables Page 2 of 5
System Variables:
Automation Anywhere Client provides predefined variables, called System Variables. The description for each system
file:///C:/Users/AKASH/AppData/Local/Temp/~hh6328.htm 14/08/2017
Variables Page 3 of 5
variable is provided for easy understanding and enables quick implementation by the user.
Other
user
resources:
The following screenshot illustrates how to insert a variable with the Keystroke
Action.
file:///C:/Users/AKASH/AppData/Local/Temp/~hh6328.htm 14/08/2017
Variables Page 4 of 5
Other
user
resources:
You can declare the variable as a Value or List type variable using the Variable Manager.
If you don’t want to specify the value of the variable at the time you create the variable, but you want the task to
read the values from the text file, you can select the option “Read from text file.”
When the task runs and comes to the variable, it reads the value of the variable from the file you specified in the
Variable Manager.
file:///C:/Users/AKASH/AppData/Local/Temp/~hh6328.htm 14/08/2017
Variables Page 5 of 5
Follow these guidelines to format the text file so that Automation Anywhere Client will successfully read
the values of the variables:
One text file can have multiple <variable>=<value> pairs in different lines, separated by the ENTER key.
If the variable is a Value type, it should have only one value, for example “myvar=value1” (without quotes) where
myvar is the name of the variable you defined in Automation Anywhere Client.
When the task runs and comes to the variable, it reads the value of the variable from the file you specified in the
Variable Manager.
If it is a List type variable, you can define the comma-separated values for the variable, for example my-list-var
=value1,value2,value3.
Variable names are not case-sensitive.
Other
user
resources:
file:///C:/Users/AKASH/AppData/Local/Temp/~hh6328.htm 14/08/2017