0 votes
1 view
in RPA by (11.8k 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 (27.7k 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

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...