Exception handling in table extraction

Hello. This is my first post here!
I am using data scraping and saving the result to an excel file. I want to implement try and catch activity to save the data that was scraped into the excel file in case of a crash. How do I do that.


Use Data scraping and write range (means Excel activity) inside the try-catch and in catch section please enter select the system.exception it will handle all type of exception so if any error occurs in the catch section you can handle it.


That worked with me. Do I need to add anything in the finally section? or should I leave it empty?

you can leave it blank
For better understanding of this activity you can go with document that we have https://docs.uipath.com/activities/other/latest/workflow/try-catch

That helped a lot. Thank you!

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