| T12 - Read variable values from a text file |
| Task Description |
Read the variables from the text file and process them.
T12.atmn
Note: Save the .atmn file in My Documents -> Automation Anywhere -> Automation Anywhere -> My Tasks. Before executing the task make sure Microsoft Word is open.
|
| Solutions |
 |
Create a list
Go to Tools->Variable Manager and in 'User Variables' click on 'Add New Variable'. Select a variable of type 'List' and select the option 'Read from text file' and specify the file from where you would like to read the values from. |

Screenshot 1

Screenshot 2

Screenshot 3 |
 |
Enter values in the text file
Open the text file specified in Step 1. Specify the values for the variable in the format described in the "How to Use" section.
|
 |
Process the values read from the text file
Use the variable in commands like any other variable. |
|
When you run this task, it reads the values from the text file. It is extremely useful when you have a huge list of values to process. Some applications like Excel export the data in comma separated values which is the format used by Automation Anywhere.
Reading variables from text file can be very useful in exporting and importing a very big list of values |
|
 |
| We started using this product to copy data from legacy system to new system. Now we use it just to do about anything automated. Countless hours saved. Thank you guys. |
- Jack Greenberg
|
| Read Customer Testimonies >> |
|