![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
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 |
| |||
|
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. |
![]() |
| Thread Tools | |
| Display Modes | |
| |