I believe you have set "Minimum age for processing" parameter while putting task into Agent queue. Even after putting a value in this parameter, agent is trying Immediately is not expected as per documentation of agent-for-queue method. Please check ?
Thank you for the aditional information. It wasn't clear from the help text that this number applied to all retries or just the first time it's picked up from the queue:
"MinimumAgeforProcessing - Optional. The minimum age of a queue entry in milliseconds before the agent tries to process it. The dequeueing process ignores (skips over) any entries that are newer than this value."
I think we can use the minimum age for processing setting to fulfill our requirement. I still think the help text needs to be improved, as it is clearly open for more than one interpretation.
Thank you for posting your query on PSC. This looks like an inactive post and hence, we suggest you create a new post for your query. Click on the Write a Post button that’s at the top of this screen and also on our Pega Support Community homepage. Once created, please reply back here with the URL of the new post.
We have also sent you a private message opening up a communication channel in case you have any further questions.