I want my robot to stop executing further once a condition doesn’t meet a requirement.
I am not talking about leaving a specific workflow or xmal file. I am talking about actually stopping the further execution of the program.
I was using Terminate Workflow activity, but it gives an ugly Exception message. I wanted to hide it, so I followed this:
Sure, it won’t display exception messages with the above method, but this is not stopping the execution… First of all, this method does NOT even execute Terminate Workflow activity. I debugged the above program, but at Throw activity right above the Terminate workflow, the program stops.
How can I stop the execution of the program itself?
I have like 10 .xmal files in order, and if a problem happens at, say, the second .xmal in the flow, I don’t want the program to proceed to the third. I want the program to completely stop the execution there WITHOUT Exception message. Like exiting the program completely.