I’m running a do while loop with a try catch inside of it.
I want it to keep doing the process until the submit button is found, or until the exceptionCounter is equal to 2.
I only want it to try the process twice, and if it doesn’t work I want it to throw an exception, and shut down the whole workflow.
I can’t seem to get my condition statement right.
The two conditions are
No SubmitFound OR exceptionCounter <=2
So I want it to keep doing the loop if the Submit Button is not found, or at try it twice.
When I do that, it just keeps going and going and going. It never breaks out of the loop.
I’m assuming this is because it examines this statement and it see’s that the submit button was never found, even though exceptionCounter is not less than or equal to 2 any more, and it has surpassed it making that statement false, NOT submitFound is still true, so it just keeps going.
So how am I going to do this.
Here is my workflow. It’s for completing ticketing. Sometimes it freezes up and doesn’t go to the next page where the submit button is found. So it tries to re start, and if it’s still freezing up, it just closes everything out.
Test1.xaml (22.3 KB)