Process service queue retry duration


How can we modify the retry duration in service request processor

currently say I have mention retry attempts as 5 then all 5 attempts are executed within 3 seconds . ProcessServiceQueue agent has an interval of 180 seconds , then why does it executes all retry attempts within 3 seconds??


Keep up to date on this post and subscribe to comments

October 14, 2019 - 12:17am


Please refer below SA article

" With the default settings and the MaxAttempt parameter set to 3, having the instance executed three times in one run is actually the expected behavior. When the agent wakes up, it tries to process all the scheduled items for that agent. In this case (if MaxAttempts is more than 1), after the first attempt is completed and it fails, the queue item will not go to broken process until all the attempts are completed and instead it will be scheduled after the first attempt. Therefore, in a single run - the agent might process all the attempts. "

Thank You

October 14, 2019 - 1:15am
Response to Shekhar_Shubham

Thanks Shekhar , The article says to set MinimumAgeForProcessing but there is no option for that in Service Request Processor.

October 14, 2019 - 1:42am
Response to Adithya_Acharya

I was pointing to the concept of why this happens.

The default value is 0 

You would need to call this through an activity to take advantage of this

This discussion might be helpful