I have a UI Path process that interacts with a very dynamic webpage.
I added the global handler in order to send an email with a screenshot whenever something completely unexpected happens and that works fine, the trouble is I've caught several known problems with try-catch activities and retry scopes.
The global handler will retry a single activity, but sometimes the loop will need to go re-do a previous activity.
This happens with Try-Catch as well. Rather than handling the exception in the try-catch, it goes to the global handler.
After adding the global handler, the retry loop stops working. When it runs into an error, even when the condition is met, it doesn't retry like it did before, it simply jumps out to the global handler.
Is this by design, a bug, or am I doing something wrong?
Just a note: I've worked around it by jury-rigging a do-while loop and adding a ton of element exists. Just curious why retry and try catch don't function with a global handler as it states it does in the documentation.