Can REST outbound call response holds for sometime?

Manikantahere
Tera Contributor

if I am triggering outbound call to third-party usually we will get response immediately if it is there but if the third-party can able to send response back after an hour/day/days can we able to use it under same outbound call??

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Manikantahere 

why not use Asynchronous REST CALL?

check these links

How to read the response return by Asynchronous REST Call (ecc_queue) 

Making Asynchronous REST API Calls Using ServiceNow Business Rules 

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

Basically I am doing this outbound call from flow designer action so if I want to trigger outbound call is this possible? can this request will wait for specific response until 1 or 2 days?

 

I am not aware of how to do rest async call and use response which comes after some time? can you give me some more idea ?

Omkar Mone
Mega Sage

Hello @Manikantahere ,

Why not call the API and store the request in a table with a status of "Pending," for example? This approach will save your wait time and improve performance, as the flow won't be blocked waiting for the response. Then, you can create a second API that the third-party can use to call back with the response for your request, allowing for more efficient processing.

I am having difficulty in understanding, can you kindly elaborate it with an example.