Question4Replies1642Views×Close popoverSatishKumar Tanappa (Satish) Optus Lead Developer Optus AU View ProfileSend Message Satish Member since 2012 18 posts Optus Posted: July 27, 2016Last activity: June 9, 2017Posted: 27 Jul 2016 8:23 EDTLast activity: 9 Jun 2017 2:09 EDT Closed Solved 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*** Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoPosted: 27 Jul 2016 12:54 EDT×Close popoverPhani Sahukaru (sahup1) PEGA Associate Architect - Financial Services Pegasystems Inc. IN View ProfileSend Messagesahup1 PEGA replied to Satishspiking around the properties pyMaxAttempts along with pyRetainOnFailure may help... Accepted Solution Posted: 4 years agoPosted: 28 Jul 2016 4:40 EDT×Close popoverSatishKumar Tanappa (Satish) Optus Lead Developer Optus AU View ProfileSend MessageSatish Optus replied to SatishThe 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. Posted: 3 years agoPosted: 9 Jun 2017 2:09 EDT×Close popoverVenkateswararao_D Daliparthi (Venkateswararao) Accenture Accenture IN View ProfileSend MessageVenkateswararao Accenture replied to SatishHi Satish, we have the similar kind of requirement. can you please let know how can you resolved this issue with detailed explanation. Thanks, Venkat Posted: 4 years agoPosted: 28 Jul 2016 6:52 EDT×Close popoverLochana Durgada Vijayakumar (Lochan_DV) MOD Lead Technical Documentation Specialist Pegasystems Inc. IN View ProfileSend MessageLochan_DV MOD replied to SatishThank you for updating us with the resolution Satish. Hope to see you around the Community! Lochan | Community Moderator | Pegasystems Inc.