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 09-17-2009, 11:49 AM
Sesshoumaru Sesshoumaru is offline
Junior Member
 
Join Date: Sep 2009
Posts: 4
Question About executing task into a task and creating .exes ...

Hello there; I have a question: what would happen if I run multiple tasks into another task, and then, I create an .exe of the main task? The tasks contained by the main task will be included into the .exe file?

I tried to do it, and the first time it works as I expected; the .exe file was containing all of the secundary tasks (I mean, running the .exe was the same as running the task from AA). That was a test, but now that I'm doing it within a production context, it doesn't work. The main task stops just before executing the first internal task.

I want to know what exactly happened, and I hope you can give me an advice about this kind of practices, if it is a good idea run tasks into a task if the main task will become an .exe file...?

Thanks
Reply With Quote
  #2 (permalink)  
Old 09-20-2009, 11:03 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Yes, the tasks contained by the main task will be included into the .exe file.

May we please know the version of Automation Anywhere you are using? You can check it from Help->About Automation Anywhere.

Can you please tell us, are you getting any error while running the exe? If yes, can you please send us screenshot of it so that we can actually see?
Also, if possible please upload your task so we can look into it and suggest viable solution.

We suggest using nested 'If Task Successful' command if you need to chain multiple tasks to ensure the next task will be executed only if previous task is executed successfully. This command will run the Automation Anywhere task and depending on return code decide if it was successful or not. Inside If block you can call last task you need to run using 'Run Task' command.

The text format of task would appear something like this,

If Task Successful (Task1.atmn) then
If Task Successful (Task2.atmn) then
Run Task (Task3.atmn)
End if
End if

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 04:08 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