I have to open few salesforce URLs and download the reports and do some operations on each one of them. So I invoked the 3 xaml files, one after another into process transaction of Reframe work. Now problem is if one of the URL is timed out or have any selector issues, it throws system exception and send an alert to restart the job.
What I want is instead of terminating the workflow and throwing exception, can we somehow terminate only that workflow whenever there is an exception and move on to next one and complete the process without any interruption or restart? Please help. Thank you!!
You can encase all the Workflows inside of a Try-Catch, which will log the exception and automatically move onto the next Activity.
Make sure you toggle the Catch to Exception and Log the Message so that in case a System Exception not related to the URL issue pops up, we will know about it from the Logs.
Could you give that a try and let us know if it works out for you?
Hey I encased individual workflows into try catch and in catch used log message : exception.message to know the exception. It skipped the workflow with exception and jumped to the next!! Finally, my problem solved. Thank you