Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in RPA by (12.7k points)

I am writing a task in Automation Anywhere and would like it to break if a certain variable is set to "false". Is there a generic or standard code that can be used to accomplish this regardless of what windows or applications are open at the time the code is executed?

1 Answer

0 votes
by (29.5k points)

Your question isn’t very precise but from what i understand you are looking for the Stop Task command, here is a link to AA’s documentation to understand this command 

https://docs.automationanywhere.com/bundle/enterprise-v11.3/page/topics/aae-client/bot-creator/commands/stop-task-command.html

What you wanna do is create a check on whether that variable is set to false and then stop the task

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...