When we fail an external task, we set the RetryTimeout to X minutes. Which means the external task cannot be fetched-and-locked until X minutes has elapsed.
After an external task has failed, is there a way to modify the external task so that it can be fetched immediately, without having to wait for the X minutes to transpire, using REST? Or can we have the fetch command ignore the RetryTimeout?
I tried resetting the Retry count. I tried failing the task and then using the “Increment Number of Retries of Failed Jobs” feature, but neither of those allows the task to be fetched immediately, we still need to wait until the X minutes has elapsed since the task last failed.
I cannot even find how we can view how much time is left before the external task can be fetched
The use case is that sometimes we don’t want to wait X minutes for the next attempt to run the external task.
We are using Camunda version 7.14
Our code uses using REST calls for fetching external tasks and Completing or Failing them.