Sytem Exception Email

Hi Team,

I have sytem exception email but when system exception comes the bot does not throw sytem exception email but send success email.

@marina.dutta

If you are using Reframework then in process state you found Set Transaction status invoke workflow in that you found System Exceptions, Business Exceptions and Success Mails Flow Charts.By opening these flows you are able to throw the Exceptions and Success mails

1 Like

Hi @marina.dutta

Are you using the RE-FRAME WORK? If yes then please keep the system exception mails in the system exception flow and also keep the business exception mail in the business exception flow.

If you are using the sequence workflow then please keep the try catch and in the catch keep the catches as exception and business exception. In exception give the system exception mail and in the business exception give the business exception mail. The catch will be executed according to the throw that you have given in the try sequence.

You can open one by one flow and add the emails over there.

Regards

1 Like

Hi Marina,
If you need to send an email and then throw the System Exception, then you need to drag and drop the following activities:

  1. If you need to send an email and then fall into the System Exception, you need to include a Throw activity after the send SMTP Mail Message activity.

  2. If you need to send an email and then fall into the Business Exception, you need to include a Throw activity after the send SMTP Mail Message activity.

Hope helps you!

1 Like

@marina.dutta

Where did you add this condition?

Check if the system exception variable is getting reset by the time it reaches this condition

cheers

1 Like

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