Intelligent Automation & Macro Software  

Go Back   Tethys Solutions 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 07-15-2008, 08:55 PM
benser benser is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default Jumping to a certain line in the script

Is there a way to jump to a certain line in the script?
Reply With Quote
  #2 (permalink)  
Old 07-15-2008, 11:22 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

You can insert conditional command, 'If-Else-EndIf' to perform set of actions only if particular condition is fulfilled or not. If you are working with loops and want to continue with next iteration then upcoming version of Automation Anywhere provides you with 'Continue Loop' command. You can use this option to continue with the next iteration in the loop if a particular condition, specified in the task, is fulfilled. As soon as Automation Anywhere encounters a Continue Loop command, it will skip the commands after the same upto the End Loop and go for the next iteration of the loop.

Can you please tell us more about your requirement? In that way we would be able to understand the problem better and can help you accordingly.
Reply With Quote
  #3 (permalink)  
Old 07-22-2008, 02:53 PM
benser benser is offline
Junior Member
 
Join Date: Jul 2008
Posts: 6
Default Jumping to a certain line in th script

I dont want to repeat code within the same task. Is there a way to jump a line in the script then return back to the original line.

I tried using the Run Task command but I cant get the Run Task command to work. What could I be doing wrong?
Reply With Quote
  #4 (permalink)  
Old 07-22-2008, 11:52 PM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

To insert Run Task command, please follow below mentioned steps.

. Open the Task Editor from Tools -> Task Editor.
. Double click on the 'Run Task' command.
. Click on 'Browse' button and select the path of .atmn file.
. You can select its repeat and speed properties.
. Click on 'Save' button.
. Similarly insert other Run Task commands to call other tasks.

Note: You can run as many tasks as you want from one task. You can also chain various tasks i.e. Call Task 2 from Task1 and Call Task 3 from Task2 and so on. You can even conditionally call tasks for e.g. you can have the Run Task command called within certain IF condition.

Can you please tell us, what problem are you facing while using 'Run Task' command? Are you getting an error? If yes, can you please send us screenshot of it so that we can actually see?

Can you please tell us more about problem you are facing and we can help you resolve that?

It would be a great help if you could send us the task that you have created so that we can look into it. You can find your task by right clicking on the task, click on “Locate on disk”, a folder would open, you can simply copy taskname.atmn file from that folder and attach it with your mail.

You can also save your task as a .txt file by right clicking the task / Edit / File / Save as text file.

It would help us investigate further.

Last edited by forumsupport : 07-23-2008 at 12:09 AM.
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

vB 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 06:46 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2008 Tethys Solutions, LLC. All rights reserved