Exceptional Handling

I am working on UiPath 2023.4, i have added Exceptional handling in my flow TryCatch. but the exceptional part is not working. i have also tried adding message box in that part but it is not showing off that messages box it seems like it does not come to exceptional part besides the fact that everything is perfect i have used this structure number of times before.

Please help its urgent

Hii @qandeelmmirza888 ,
Have you added the same type of exception in the catch block which you got while running the try block?
If not try to run the process mannually and observe the exception You can mention the same exception in the catch block
image

Regards,

1 Like

Does it mean it simply throwing that exception without catching it? Can you try running the process in debug mode and check where it is navigating to, after an exception occurs. Below link on detail understanding of Try Catch

https://www.youtube.com/watch?v=k4r64I7fjzI

yes i have added system.exception and then running it manually.

even i have added “Message Box” in exception portion just to check if it goes to that portion or not. but it is even not going to exception portion

@qandeelmmirza888 ,
Can you just share the screenshot of your try catch if possible?

1 Like

@qandeelmmirza888

If you are running in debug mode check if this option is selcted…if yes unselect it

Alternately can you confirm if the error is coming in the try sequence …or is it successful

cheers

@qandeelmmirza888 ,
Check this workflow and let us know whether you can able to print the message box.
ExceptionHandling.zip (2.0 KB)

Regards,

1 Like

Yes it worked. Thank you Jithesh.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.