Hello all, trying to capture errors for each activity during runtime . I added trycatch block for each activity along with screenshot of activity and logmessage. if activity fails it should fall into catch bloack and write a add row in dt with error message. or it will add activity passed in dt . Just wanted to check if there is any other way or approach I can follow to capture errors/failures in spreadsheet for each activity during runtime? Please help
You can try using global exception handle in event of exception and log your details and then continue …that way you need not have try catch on each activity
Its a standalone xaml that you have…you need not incoke it anywhere…right click on the main file and select global exception handler and a xaml will be added to the project…which whenever an error occurs first it gets automatically tirggered…inside that you can choose option to continue…retry or abort the process