Not able to Catch the exception and skip the steps inside loop

Not able to Catch the exception and skip the steps inside loop.
I am trying below process.
Inside the FOR EACH activity we will be having a container named BODY

now keep that BODY part alone inside the TRY block of Try Catch activity
So that if a particular item inside the Body container of For Each loop fails in try block it will go to CATCH block and there choose the exception type as System.Exception and inside that block use a Send outlook mail activity which will send the mail

And it will go for the next item of the For each row variable

The structure be like this

FOR EACH
-Try
—Body of For each loop
-Catch
—Mail activity

But still system fail and not catching an exception and sending an email. I want to catch an exception for that record and then start executing the next one. See screen shot.

You’re in debug mode so it stops on faults. Click the Continue button at the top.

Actually i run this bot and it stops here now what i want is whenever bot finds any fault in for each it throws an email to user and will continue for next record but i my code @postwick you ask me click continue manually but i want this will not require any human intervention i mean whenever fault come it throws an email and automatically continue with next record.

Hi,

The following might help you.

Regards,

There is only human intervention when you’re running in debug mode in Studio.

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