Reading variables from text file:

 

 

Automation Anywhere lets you define the values of your variables in an external text file.

Following is the format the text file should follow in order to have Automation Anywhere successfully read the values of the variables.

  1. One text file can have multiple <variable>=<value> pairs in different lines separated by ENTER key.
  2. If it is a 'Value' type of a variable then it should have only one value for e.g. 'myvar=value1' (without quotes) where 'myvar' is the name of the variable defined in Automation Anywhere.
  3. If it is a 'List' type of a variable then you can define the comma separated values for the variable for e.g. 'my-list-var =value1,value2,value3'
  4. The variable names are not case sensitive.
  5. Following is a sample of a text file holding different <variable>=<value> pairs.

Age=12,13,16,21

Games=Football,Soccer,Rugby

username=my-username

password=my-password