Retry failed service task from cockpit

Hi

We are trying to rerun failed service task ( implemented using external ). But getting error following error even after selecting failed job “There are no failed jobs available to increment their retries.”

Asynchronous option ( Asynchronous Before or Asynchronous after ) is not selected for the external service task ,is error because of that ?
Do we need to select Asynchronous continuations ? If yes , which option Asynchronous Before or Asynchronous after we need that select , so that we can rerun the failed external service task ?

Hi @SanTyagi ,

did you check the failed job for remaining retries? If there’s none, you could reset the remaining retries via REST api (Set Job Retries | docs.camunda.org).

Asynchronous option ( Asynchronous Before or Asynchronous after ) is not selected for the external service task ,is error because of that ?
Do we need to select Asynchronous continuations ? If yes , which option Asynchronous Before or Asynchronous after we need that select , so that we can rerun the failed external service task ?

In short:
No you do not need to add “async before” and also I would recommend against it. External tasks already introduce a wait state which in consequence means that the process will be persisted. So the async continuation would not give you any benefit and only introduce additional overhead. For “async after” it can be useful especially if your task is not idempontent.

For better understanding you can read following article. It also points out do’s and dont’s:Understanding Camunda 7 transaction handling | Camunda Platform 8

Kind regards
Adagatiya

Hi @SanTyagi,

Open the "Incidents" tab, then click on the action button to increment the retries.