Hi, this is Chandan. I have process in Boomi and I do not want the last Successful Run date to be updated if my process result in error along with that I want to mail it if the process errored out. Can any one please help.
The way I see it the lastsuccessfulrun is not updated when process fails.
Are you using try/catch shape in your process?When I have a process that fails, I handle it like this:
At a high level, make sure you use a Try/Catch and a Branch shape. The first branch you can send your email, the second branch, you would want to Re-throw or create your own custom exception so that your process would end in an error. You may need to put in additional try/catches around the Mail Connector if you are want to protect against that as well.
In most cases, this is a common pattern and you would want to make sure that you are building re-usable components and frameworks so that you can leverage them across multiple processes.
Hi Leif and Taurean, Thanks for your reply it worked. Actually I have used the Try/Catch but the way I kept is I have kept all the things in a single branch and it didn't worked. Later I have used your way and it is as expected and error out. Once again thanks for your help.
Retrieving data ...