Using Try/Catch to send Error/Positive Email Reports

trycatch

#1

This is specific scenario I have in mind but I’m wondering if anyone has any advice. I’m wondering if its possible to surround a whole workflow with a try/catch block. If any errors occur in the workflow, it will catch them and send an email including the errors. If no errors occur, it will send a report saying everything passed. Is this possible? Thanks.


#2

Hi @jpreziuso

In short, yes, that is possible and should work without issues.


#3

Do you know the best way to go about it with the exceptions and such? I tried but quickly got confused.