How can I make Send Event Task a deadletter job to be able to resume it? I made it Asynchronous. After that task, I have outgoing conditional sequence flow where I check if variable is set properly. When FlowableException is thrown there is also org.springframework.amqp.rabbit.support.ListenerExecutionFailedException.
I assume that there is problem with transaction so I put Send Event Task in subprocess which is transactional.
What else can I do to be able to resume Send Event Task using REST API (deadletter or maybe something else?) ?
How to deal with transaction of Send Event Task?
Yes, and that’s correct. After a configurable number of retries (3 by default), the job is moved to the deadletter jobs. From there, it can be moved back again to be executed again.