Page load default timeout in ServiceNow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 01:58 AM - edited 12-02-2022 03:38 AM
Hi Team,
I have a scenario, where API is taking time 10-12 mins to respond the action which we are calling from SNOW. I wanted to check, what will be the max time.. SNOW page will wait for API response before getting timeout.
could anyone please suggest the default value from SNOW end for above or how to check in instance....
Thanks in advance.
Kumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 02:03 AM
Hi @skumar_srbh ,
set glide.http.outbound.max_timeout value longer then 30secs then you also need to set glide.http.outbound.max_timeout.enabled system property to false and use the waitForResponse() method to set the timeout (after setting that property to false you should be able to set different timeouts with waitForResponse()).
Refer below thread for more info:-
Please Mark My Response as Correct/Helpful based on Impact
Regards,
Gunjan Kiratkar
2X ServiceNow MVP
Community Rising Star 2022
Youtube : ServiceNow Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2022 02:56 AM - edited 12-01-2022 02:56 AM
@Gunjan Kiratkar Thanks for reply.. .
I checked in instance, cant see any property named as "glide.http.outbound.max_timeout".. but yes can see "glide.http.outbound.max_timeout.enabled" which is already set as "false". Btw I still want to how much time SNOW will wait... in this scenario.?
thanks again.