MENU

Fun & Interesting

UiPath Exception Handling (Try Catch, Retry Scope, Throw, Rethrow and Global Exception Handler)

Marcelo Cruz 561 3 months ago
Video Not Working? Fix It Now

This tutorial will help you to master exception handling in UiPath with 4 activities: Try Catch, Throw, Rethrow and Retry Scope. As a bonus, we will also cover the Global Exception Handler workflow. *RESOURCES* 🗣️ Get UiPath help and network with RPA developers on my Discord community: https://discord.gg/Xqwx7Bhj8C 📘 Get a free copy of my "Getting Started with UiPath" eBook: https://uipath.marcelocruzrpa.com/ebook-en 📘 Get a free copy of my "SAP Automation with UiPath" eBook: https://uipath.marcelocruzrpa.com/automate-sap-with-uipath-en ✉️ Free insights and tips around RPA and AI, directly to your inbox: https://newsletter.marcelocruzrpa.com 🎓 Check out my RPA courses: https://courses.marcelocruzrpa.com *SOCIAL LINKS* * LinkedIn: https://www.linkedin.com/in/marcelo-cruz-rpa *CHAPTERS* 00:00 - Intro 00:18 - Try Catch - Use case 00:45 - Try Catch - Undestand the Try block 01:15 - Try Catch - Understand the Catches block 02:02 - Try Catch - Understand the Finally block 02:43 - Try Catch - Handle exception 03:07 - Try Catch - Logging exception details 04:11 - Try Catch - Segregate handling by exception type 08:42 - Try Catch - Finally block 10:52 - Retry Scope - Use case 11:19 - Retry Scope - 11:40 - Retry Scope - Understanding the activity 13:30 - Retry Scope - Activity properties 14:13 - Retry Scope - Retry after exception 15:27 - Retry Scope - Add condition 17:15 - Throw - Understand the activity 18:20 - Throw - Setting up activity 19:32 - Throw - Testing the activity 20:45 - Rethrow - Use case 21:55 - Rethrow - Understanding the purpose 22:07 - Rethrow - Add Try Catch 23:28 - Rethow - Add activity 24:35 - Rethrow - Adding higher level Try Catch 25:34 - Global Exception Handler - Use case 25:53 - Global Exception Handler - Add to the project 26:20 - Global Exception Handler - Understanding it 28:10 - Global Exception Handler - Simulate case to trigger unmanaged exception 29:46 - Global Exception Handler - Simulate case with managed exception 30:57 - Conclusion

Comment