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 11-14-2007, 06:23 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default Run task always failing

I have a task that, If run by itself, always succeeds, but if i run it using "Run Task" or "IF Task unsuccessful..." methods, it fails every time. This had always worked before, but since upgrading to AA 4.0 I am having trouble. I have attached the *.atmn file.

It seems to be failing at either line 29 or 30...
Attached Files
File Type: atmn add Asset.atmn (26.2 KB, 8 views)

Last edited by marcgallant : 11-14-2007 at 06:32 AM.
Reply With Quote
  #2 (permalink)  
Old 11-14-2007, 06:19 PM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello,

I saw your task 'add Asset.atmn'. You mentioned that the task fails if called using Run Task. Are you referring to the Run Task call to 'Menu - Assets - Manage Assets.atmn' on line number 6 or you are referring to the Run Task call that some external task is making to run 'add Asset.atmn'?

Also, can you please tell us more about what happens when you say it fails. Does the task give any error? You can also find it from the Edit->View log that displays all the errors for a particular task.

A screenshot of the error would also help.
Reply With Quote
  #3 (permalink)  
Old 11-15-2007, 05:47 AM
marcgallant marcgallant is offline
Member
 
Join Date: Jul 2007
Location: Dieppe, New Brunswick Canada
Posts: 46
Default Figured it out - but still potential issue

Okay - I just figured it out. To me its a bug, but thats a seperate issue. if you look at line 32, I am using a variable to determine how many times my "loop" function would loop. In the line above it, I pass a value to the clipboard, and was supposed to use that value instead. Once I changed the Loop variable to the $Clipboard$, it worked fine. So to me it looks like the "Loop" function can't use a Variable that picks a random number. You would have to assign it to the clipboard first.
Reply With Quote
  #4 (permalink)  
Old 11-15-2007, 09:57 AM
forumsupport forumsupport is online now
Senior Member
 
Join Date: Apr 2007
Posts: 524
Default

Hello Marc,

Yes, I reproduced the same problem too when I pass random variable in the Loop for N times. Thank you for pointing it out to us. We have reported this problem to the development team.
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 12:09 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