MinimumAgeForProcessing(Optional). This parameter specifies the minimum length of time (in milliseconds) that an entry must remain in queue before it may be processed; the default is 0 (the item may be processed as soon as it is entered into the agent queue).
With the above parameter in the Queue for agent method, if we provide any value it is taking the delayed time even for the first time execution of the particular entry.
we are having a scenario, where in the first execution must be done with 30s delay, in case of a failure the re-attempts must be made after 10 mins for each failed execution. we have configured "MaxAttempts" as 5 so that agent retries 5 times for the failed entry.
Do we have a way to setup in such a way that, For first Attempt 30sec and for failed attempts, it should take 10mins?
As far as I know there is no OOTB way to achieve the required functionality.
However you could achieve the requirement by following below steps.
1. In Queue-For-Agent method , set MinimumAgeForProcessing to 30 sec and pyMaxAttempts to 1.In transition step of the activity check for step status fail or response parameters. If these are empty then jump to later step.
2. In jump to later step you could use Queue-For-Agent method one more time and set MinimumAgeForProcessing to 10 min and pyMaxAttempts to 5