Intelligent Automation & Macro Software  

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

Automation Anywhere Server & Enterprise Post messages and questions related to Automation Anywhere Server or Automation Anywhere Enterprise here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2011, 09:55 AM
sthorne1271 sthorne1271 is offline
Junior Member
 
Join Date: Feb 2009
Location: Westport, NY
Posts: 10
Default Ideas on a goto statement

I have a task that performs numerous steps in an application and at the end I need to perform a validation step. If the validation step fails I need it return to top of the task and perform the steps again. It would not be at the very begginning of the task but say line 20. Is there a way to tell a task to return to a specific line in a task and execute from there? Can you perform a loop until maybe a variable is set to a specific condition?

I don't recall seeing a function like this. If not it might be a nice enhancement and should relatively easy to implement to have basically a goto statement and can input the line number you want the task to execute next.

thanks,
Steve
Reply With Quote
  #2 (permalink)  
Old 03-01-2011, 03:32 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello sthorne1271,

Unfortunately we do not have any such feature of “Goto statement”.
However thank you for your suggestion. We will surely forward it as an enhancement to our development team.

Thanks & Regards
Reply With Quote
  #3 (permalink)  
Old 03-15-2011, 07:46 PM
philkryder philkryder is online now
Senior Member
 
Join Date: Sep 2007
Posts: 458
Default

Quote:
Originally Posted by sthorne1271 View Post
I have a task that performs numerous steps in an application and at the end I need to perform a validation step. If the validation step fails I need it return to top of the task and perform the steps again. It would not be at the very begginning of the task but say line 20. Is there a way to tell a task to return to a specific line in a task and execute from there? Can you perform a loop until maybe a variable is set to a specific condition?

I don't recall seeing a function like this. If not it might be a nice enhancement and should relatively easy to implement to have basically a goto statement and can input the line number you want the task to execute next.

thanks,
Steve
you may want to consider an EXIT LOOP inside a loop command... or just a loop on a variable
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 01:57 AM.


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