Posted: 23 Oct 2015 10:33 EDT Last activity: 2 Apr 2017 18:13 EDT
How do Error Handling in Agents
I have a problem with to hadnling Error in Agent Activity. I created a Advance Agent which will runs ones per day. Agent call a SOAP service and Update the Data table using Obj- methods. If any of the Obj- mathods or SOAP service fails how capture this.
I need to capture the faild request and need to call it back.
Share this page
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 Discussion, please write a new Discussion.
Posted: 5 years ago
Posted: 23 Oct 2015 14:22 EDT
Phani Sahukaru (sahup1)
Architect - Financial Services
In your Connect-SOAP step, add a transition; when "HasMessages" continue otherwise jump to later step. Immediately after Connect-SOAP step, add a Log-Message Step (mode: InfoForced) with the error details and "Queue-For-Agent" step to queue to another table for a retry. This way, if there is an error, system will log it and re-queue it, otherwise it'll jump to later step for normal processing.
Another option is to create a single step flow and call this in agent activity. You can configure SLA and use OOB activities to resume the flow. Flow can be routed to errorWB if it go into error. you can call/add utility in the flow. If service fails you can route back to same assignment with different SLA( i.e next 30 min). After 30 min SLA will trigger the flow and resumes the flow followed by service calls. You can configure Max retry in flow and then can send email notifications to business.