Retry policies in scripted REST API

Sagaya1
Giga Expert

Hi,

There is a retry policies configuration in integrationhub and ECC queue .

But I need to configure the retry policy  and strategy in scripted REST API  and set interval and count and error message .

Please help to achieve this .

 

Regards,

Sagaya .

6 REPLIES 6

Hitoshi Ozawa
Giga Sage
Giga Sage

Scripted REST returns error objects. You'll need to implement retries yourself based on the error object.

 

BillMartin
Mega Sage

Hi everyone,

A retry policy alone may not be sufficient, as network calls still rely on potentially unstable connections and are prone to performance degradation. To improve resilience and reduce the risk of cascading failures, I recommend implementing a circuit breaker pattern in conjunction with the retry policy.

This combination can help gracefully handle repeated failures, prevent unnecessary load on downstream services, and enhance overall system stability.

 

Further reading: Why Circuit Breaker is Essential for ServiceNow REST API Integrations