How to use waitfor response method in servicenow rest call?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 12:13 AM - edited 07-21-2025 12:13 AM
I am seeing default servicenow http time out is 30 seconds can we increase based on integration?
WaitforResponse() can be used in both synchronous and asynchronous calls? is it can be used without turning off the property glide.http.outbound.max_timeout??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 03:11 AM
I am receiving a response even after 2 minutes when I make a synchronous call using response.execute()
Could you help me understand why this might be happening? and I don't see the property called glide.http.outbound.max_timeout in my dev.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 03:23 AM
Thank you for marking my response as helpful.
you can create that property if not present and give value.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 04:38 AM
However, when I tested it, I noticed that it is getting response up to 2 min beyond it is failing. Do you have any idea why this is happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 08:32 PM
not very sure.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2025 06:39 AM - edited 07-21-2025 06:56 AM
Hey @Manikantahere ,
I hope you saw my reply.
If my response points you in the right directions, please consider marking it as 'Helpful' & 'correct'. It will help future readers as well and it will help close the thread.
Thanks,
Bhimashankar H