Hello,
I am working on an approval workflow, an as expected in such cases, I need to notify approvers via emails. I decided to choose MailActivityBehavior as it supports field expressions and I can easily use Velocity in order to generate email body.
My problem is caused by the fact that in case something goes wrong while sending the email(mail server is down), the process is not moving forward to the next wait state. I have tried to use error boundary event on the ‘mail’ send task, but it seems that it is ignored(from the implementation I saw that the error propagation is not used and in case something goes wrong while sending the email, a RuntimeException is thrown).
So what I need to know is if there is a simple way I can fix this problem, or do I have to look for other solutions, like task listener or maybe a mail plugin.
I am using camunda-bpm-platform-7.4.0.
Thanks,
Bogdan Tatar