Reliability when Tasks fails

Hi

I have a task that is calling an outside REST service with a java delegate class. If that service is down, and the call fails, how is Camunda “storing” the task, so I can resend/restart it when the REST service is up again?

What is the correct way to notify Camunda engine from a java delegate about storing the task for later retry?

How does Camunda store the data to each given task in such a situation?

Do you have any examples/documentation/tutorials for this issue?

Br

Frank

Hi @FrankReneSorensen,

just throw a exception in the delegate in case the service is not reachale.

If the service task is marked a s async before, you wil get an incident in the cockpit.

You can configure retries as well: https://docs.camunda.org/manual/7.10/user-guide/process-engine/the-job-executor/#use-a-custom-job-retry-configuration-for-activities

Hope this helps, Ingo

2 Likes

Hi

Sorry for late answer. Yes, this helped a lot. Many thanks!

:slight_smile: