Flow Designer - REST - Retry Policy + Error Handler question

Tom Sienkiewicz
Mega Sage

Hi Everyone,

just a few quick questions to double check if my understanding is correct. Have not used the REST step too much within FD just yet.

1. If Retry Policy is used for a REST Step, where can I see how many times it retried, at what times etc. Is all that visible in the Execution Details, or perhaps only in Outbound HTTP Request table? I need full details like how many times did we retry, request body, response etc.

2. If I use the Error Handler, can it be set so that it only triggers when all the retries specified within the Retry Policy have failed? It should not activate for each attempt, only after e.g. 3 attempts have failed. Can anone perhaps share an example of how this can be configured?

3. Finally, is there a limit in terms of max. concurrent REST messages which can be sent using FD? I'm talking about a situation where we send e.g. a 1000 payloads and all of them are synchronous with middleware between SN and external system, so the connection might not be immediately closed. I assume since FD/Integration Hub are the recommended way for integrations now, this should not be a problem.

Many thanks!

3 REPLIES 3

Sukraj Raikhraj
Kilo Sage

 This links should help with the questions:  https://docs.servicenow.com/bundle/paris-servicenow-platform/page/administer/flow-designer/concept/retry-policy.html

 

rohitservicenow
Mega Guru

Hi @Tom Sienkiewicz 

Have you had any luck with this? I am also trying to check how many times the Flow tried reaching the endpoint when the endpoint is not available. 

Hey,

we ended up managing error handling in the middleware layer. But from my research I would say this could be perfectly possible using the Retry Policy.

As for checking how many retires were made, I'm not sure but I would guess you should see those details somewhere within the flow execution. Don't know if you really need this as retry policy handles this for you (you can set max amount of retries).