How to implement retry policy outside flow designer?

Suggy
Giga Sage

How to implement retry policy concept outside flow designer?

Ex - I want to retry API call 3 times. If still not successful, then create an incident.

 

PS - I know this capability is there in Flow designer but customer is having IH Starter package which has limited license count for IH transactions. Hence we are looking for solution outside the FLOW DESIGNER.

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi @Suggy 

 

ServiceNow offers the same concept OOTB with the ECC queue. And before you ask: No you don't need a MID server for that!

 

For you it means only a small change in your code and an additional configuration for retry policies. Please refer to the following article for more information: https://www.servicenow.com/community/itom-blog/ecc-failure-retry-async-rest-web-service-example/ba-p... 

 

Maik

View solution in original post

8 REPLIES 8

Uncle Rob
Kilo Patron

Flow designer has "Do the following until" Flow Logic.

UncleRob_0-1748623771773.png
Within that you can set exit conditions.  In your case just create two flow variables like "successCheck" and "tryCount".  Control those variables within the Do the following until

Pattern will look a little something like this.

UncleRob_1-1748624035137.png

 

 

Hi @Uncle Rob Thanks for relying, but as I have mentioned, I am looking for a solution outside the FLOW DESIGNER.

What do you mean they aren't licensed for Flow Designer?
Everyone is licensed for Flow Designer to some degree.

@Uncle Rob Thanks for replying and apologies for not being clear. 

What I actually meant was, customer doesnt have sufficient licenses. They just have IH starter package that comes with limited transactions which currently is being used for some other integrations already.