Question

How to Re-Queue programmatically.

Hi Team,

From the agent activity, we are hitting a external service and based on the response need to re-queue the agent activity by considering maximum number of attempts.

For Ex: Max No of attempts = 1

Failed Response for the first time: Re-Queue with "Scheduled" Status.

Failed Response second time: Re-Queue with "Broken-Process" Status.

On failure response tried setting page messages still no luck.

Thanks in advance.

***Updated by moderator: Marissa. Removed user added #helpme tag. Apologies for confusion, shouldn't have been an end-user option***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Correct Answer
July 28, 2016 - 4:40am

The issue fixed by setting the status of the activity to fail through "Activity-Set-Status" method, so agent re-queue automatically based on maximum number of attemps.

Comments

Keep up to date on this post and subscribe to comments

Pega
July 27, 2016 - 12:54pm

spiking around the properties pyMaxAttempts along with pyRetainOnFailure may help...

July 28, 2016 - 4:40am

The issue fixed by setting the status of the activity to fail through "Activity-Set-Status" method, so agent re-queue automatically based on maximum number of attemps.

June 9, 2017 - 2:09am
Response to Satish

Hi Satish,

we have the similar kind of requirement. can you please let know how can you resolved this issue with detailed explanation.

Thanks,

Venkat

 

Mod
July 28, 2016 - 6:52am

Thank you for updating us with the resolution Satish.

Hope to see you around the Community!
Lochan  |  Community Moderator  |  Pegasystems Inc.

 

Lochana | Community Moderator | Pegasystems Inc.