In case of retrying a failing the engine behaves currently as follows:
1) Default Behavior:
Whenever a job fails, the job executor decreases the retries and unlocks the job. Afterwards the failed job can be acquired and executed again by the job executor right away (if retries > 0). As a consequence, it could happen that in between the moment of failing and retrying the job there were just a small interval.
2) Retry Time Cycle:
With the property retry time cycle (e.g. R5/PT5M) it is possible to define the number of retries and an interval when the failed job should be retried. But in that case the interval is always (at least) 5 minutes.
There should be some configuration options to configure a incremental retry interval of failed jobs.
- the incremental interval can be configured globally at process engine configuration level
- the incremental interval can be configured locally at activity level