Retrigger Rest Message Api after 1 hour with flow designer if failure occures

nisha_singh
Tera Contributor

Hi Team,

 

I need a help with my flow deisgner, below is my requirement , can you please provide your suggestions.

Requirement  : Through flowdeisgner I need to trigger the rest api if non 200 https status comes it should re-trigger the flow designer every 1 hour until it successfully connects and processes the job, we are passing custom date.
as an input we are passing IDs and custom date from customer_account table and it takes 5 IDs at time and processed into Rest api "get call" if any of the Id falls due to server error or authentication error 500 it should send those IDs with the custom date and retrigger after 1 hour(need to perform the error handling through flow desdigner and send the notification to the customer).

is that possible through flow designer?
How it is running currently :  we are running schedule job which calls script include where we are passing custom date and IDs from customer_account table and in other function calling rest api but here we were facing the issue since we were not aware when the script failed/stopped due to non http status and we need to run the job manually to retrigger those IDs, we want the solution to retrigger those IDs with input date where it failed it should not take those IDs which are already processed into rest message and returned 200.

 

could anyone please help me to achieve this via flow designer.

 

Thanks and Regards,

Nisha

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@nisha_singh 

you can create a table to store if it got success or failure.

If it fails then have a schedule job which runs every 10/15/30mins based on your retry time and trigger the flow again

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Thanks for your reply, can we achieve it through flow designer ?
the error handlining part and notification.

Thanks and Regards,

Nisha