Service task retried 1000 plus times

We have a service task, when there is a failure its been retired 1000 plus times. How does this happen?

I thought the max retry is 3 from camunda in case of service task failure

Maybe the bpmn has an explicit setting for this service task?


This example would lead to 10 retries with 5 seconds wait time inbetween.

No. This Retry Time Cycle was set to empty. And the service task is executed via http-connector and the output has the below script

if (statusCode == 400) {

throw new org.camunda.bpm.engine.delegate.BpmnError(“errorCode”,“errorMessage”);
else if (statusCode == 500) {
throw new java.lang.RuntimeException(“Post Customer Eligibility Service Failure”);

The other reason I could imagine is the process-engine configuration for retries:

Btw, I don’t know how the job executor handles RuntimeExceptions…