How to re run bot when it have exception?

for example we have process

if it runs successfully entire programme then send the mail notification user
if it’s failed between sequences then re-run from start and send mail failed process to notification user.

Thanks, Regards
Deepak

Hi @Deepak_Gautam,

Extract this as a workflow by right clicking and selecting that option.

Once done, surround it with try catch block again by right clicking and selecting try catch option.

Then under catch block, catch exception in which case you want to re-run the code. In that section, send failed notification mail to user and make a call again to the workflow extracted above by using Invoke workflow activity.

Outside of try catch block, have the mail sent to user for successful scenario.

Regards
Sonali

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