Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Retry Mechanism and Error Handling for Rest outbound Integration

Balakrishna_ABK
Kilo Sage

We configured business rule+ script include for outbound rest integration.

Requirement is to add retry mechanism (3 times) & error handling (create incident) for failure.

 

Can we call this script include in flow designer to use oob retry mechanism & error handling ?

Or can we directly incorporate additional code in script include itself ?

2 REPLIES 2

Hemanth M
Tera Sage

Hi @Balakrishna_ABK ,

 

1) Replace BR with flow designer and use retry logic (if it works for you) - or you can create a subflow to customize retry logic (frequency, notification etc..)

2) Use OOB error handling logic to create a incident (may be use a subflow to create a incident here so that you can use this subflow across other integrations, flows when required)

 

Hope it helps!

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025,2026

Ankur Bawiskar
Tera Patron

@Balakrishna_ABK 

better start using Flow as it has retry mechanism built in

Flow and Action Error Handling Level 1: Retry and Action Error Evaluation - Workflow Automation CoE 

Handling errors and planned process time-out in Flow Designer 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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