I’m working with camunda using the API rest, and I have some external tasks, and I need to set a retry time cycle for this external task when I marked as failure, but I don’t know how to do it.
Let me explain a little more.
Think about this example https://github.com/camunda/camunda-bpm-examples/tree/master/process-engine-plugin/failed-job-retry-profile but external tasks instead having a Java Class as implementation, have an External Implementation.
I have a camunda plugin, wich every external task who starts, publish a message into kafka, then, my application process this json, and via REST will fetchAndLock this task, and if an error occurs, mark as failure with a retry time cycle.
What i’m spect of this behaviour is this external task start again from the beginning and my kafka plugin publish again the start event for this external task.
I was reading about jobs, but I don’t know how they works and if a Jobs it’s a part of an external task or they are different “things”.
To summarize, I need in some way my external tasks publish an start event when they failed after a period of time.