Hi, I want to send an email every time an error occurs on the process, I want that email to containing the error. Where is the best place to put an email activity to catch all errors on REF at one time?
Regards,
Alamyr
Hi, I want to send an email every time an error occurs on the process, I want that email to containing the error. Where is the best place to put an email activity to catch all errors on REF at one time?
Regards,
Alamyr
It should go in the Catch block of the Process part of the REFramework. Once in the BusinessRuleException part, and again in the SystemError part. This way, you can customize the email depending on whether the exception was something expected, or something your team needs to debug.
For BusinessRuleException I send it right when I throw the error and I used what you said for SystemError, thanks!