Async Before

My BPMN has a Send Task after User Task.

When User Task is completed email is sent to the requester.

Sometimes SMTP server can be down, so i enabled Async Before option for Send Task assuming job will be created in ACT_RU_JOB and when SMTP server is up mail would be sent.

But i don’t find job created in ACT_RU_JOB when Send Task fails.

Is Asynchronous continuations option not available for send task?

Thanks,
Brajesh

When the send task failed, it will retry 2 more times (total of 3 attempts, see docs on failed job retry config), and after the third fail it will throw a incident.

When your SMTP server is down, are you seeing the incident being created?

No, I don’t see any job being created in ACT_RU_JOB table.

Never Mind, i achieved my objective using Timer event.

I have another related question. Is it possible to persist the task execution state when the task fails so that when task wakes up again it read the previous state to proceed.