Need help in retry the integration if it fails flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Hello Everyone,
I have a flow on incident and it is integrated with a thirdparty tool and its aoutbound.
I have created one custom action used and everything is fine i am able to create the incident in the thirdparty system.
Now we have a requirement like if the integration fails due to any error. It should try the same rest call two more time if still error then it should create one incident .Now please look at the attached scrrenshots and let me know how i can do this?
In my custom action where after rest step whatever response i am getting i am parsing it in the json parser and then getting the values and updating the incident.
the current requirement is about the negative scenarion if integration fails then it should try two more times if still fails then i have to log one incident record with the eroor and the incident details so the admin team can check.
@Ankur Bawiskar how i should be able to achieve this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
did you try Retry policy?
also check below
Handling ServiceNow flow errors with a flow
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hello @Ankur Bawiskar ,
Irrespective of the error i have to try the integration for 3 times so i have created the below policy and using it in the custom action is it correct condition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
I haven't tried but it should work based on the links I shared
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
