How to re-execute a failed async and triggerable service task


#1

Hi,

I have a couple of service tasks in my flow which are declared as asynchronous and triggerable.

flowable:async=“true”
flowable:triggerable=“true”

In case the execution-method in the delegate java service class throws an exception it may leave the workflow stuck.

These are not business exceptions but can be technical issues like bugs or unexpected failure to connect to external microservices.

After the cause of the failure is determined, I would like to have to option to re-execute the java service class “execute”-method.

But how can I do this ? Either directly from java or using the rest-API ?


#2

Hi, does anyone have some input to this issue. It would be very helpful


#3

I would assume the job has been moved to the deadletter-jobs, and you should be able to trigger execution again from there.


#4

Thank you. I am a bit new to the concepts and can see that this is also mentioned in the documentation.