Need you help understanding the behavior of Try Catch. I have gone through various similar articles and videos. I am facing the same problem where catch block is not executing when there is an error in Try block. Instead flow is going to Global exception handler.
Global exception handler has continue argument so that my workflow is not aborted.
I have sequence of activities in my Try Block. If I get error in any of the activity, my catch block should trigger.
My application is very slow and getting exceptions like missing UI Element is very frequent. Since I know the behavior, I want to handle this in the code. In Catch Block I am closing the application and restarting the workflow again.
I have tried running in normal mode as well. But catch block is not executing.
Exception captured in the catch block system.exception.
Kindly help. Thank you.