Question
IT Trailblazer
IT Trailblazer
US
IT Trailblazer
Posted: Jan 10, 2020
Last activity: Jan 13, 2020
Last activity: 13 Jan 2020 2:21 EST
Closed
When Connect-Rest service fail 3 times inside AgentForQueue mail send to admin.
I am calling connect-rest service inside AgentForQueue and my requirement is if service failed 3 times then a mail send to Admin. So how to do this approach?
***Moderator Edit-Vidyaranjan: Updated Platform Capability***
Configure Error Handler Flow on your Connect-REST rule and have SendEmail shape after retries (use a property to set the counter).
Also, the system by default retries on certain scenarios. Go through Handing Connector Exceptions for more details - https://community.pega.com/sites/default/files/help_v722/rule-/rule-connect-/connectorexceptions.htm