How to detect Send Email element errors

I have a business process which reads emails to send from a custom entity and sends them using the "Send Email" process element.

After that I need to check if the email was sent.

If an issue occurred I need to update the status in my custom entity to "Error".

I could not find a way to detect if an error occurred while sending a mail. 

I already read about "Ignore errors on sending" checkbox here but it does not respond to my needs.

I also tried to use [#MySendEmailProcessElement.Activity completed#] but it is always false.

Can you suggest me another way to check if the email was sent?

Like 0

Like

0 comments
Show all comments