Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
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

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

Browse Categories