Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2010, 09:42 AM
rahesh rahesh is offline
Junior Member
 
Join Date: Apr 2010
Posts: 11
Default Assigning values to a list variables at run time

Hi

Any body please help me how to assign value to a list variable at run time.?
What i am doing is , read a text file and iterates through each line if a particular condition matches, i want to take those values and assign to a list.


Thanks in advance

Rahesh
Reply With Quote
  #2 (permalink)  
Old 04-23-2010, 11:10 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Using Variable Manager, create a list variable that reads value from a text file, read the data from specific CSV file using 'Read from CSV file' command, then inside loop insert If condition and log the value to a text file that is read by same list variable using 'Log to File' command.

We have created a sample task for your reference. To run this sample,

. Please copy .atmn under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder.
. Copy CSV file under C:\

Hope that helps.
Attached Files
File Type: zip sampleTask.zip (4.7 KB, 14 views)
Reply With Quote
  #3 (permalink)  
Old 07-19-2010, 05:12 PM
pattybal pattybal is offline
Junior Member
 
Join Date: Jul 2010
Posts: 14
Default

Hello,
I am as well new to AA and I want to pass variables. The .txt file is only for one set of variables and I have many. I am trying to open the samples provided in this website but I cannot open them. I have 5.0.2 Premier.
Reply With Quote
  #4 (permalink)  
Old 07-20-2010, 04:35 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

They are created in newer version so you need to download it in order to view them. You can download free trial version of Automation Anywhere 6.0 from our website:
Automation Anywhere - The Automation Software. Automate & Schedule IT & Business processes easily.

You can use 'Log to file' command to append the list value in a text/csv file and later in the task use 'Read from CSV/Text file' command to loop for all the list values.

Hope that helps.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 09:32 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved