Change default response timeout of REST Step.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2020 06:00 AM
What is the default response timeout for REST step in flow designer and how we can change (increase/decrease) the same.
I have already checked the property "glide.http.outbound.max_timeout" ( https://docs.servicenow.com/bundle/paris-platform-administration/page/administer/reference-pages/reference/r_AvailableSystemProperties.html ).
It does not work for REST step. So, could someone please suggest how we can configure the default response timeout property REST step.
- Labels:
-
Service Catalog

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2020 03:38 PM
Hi Sanjay,
If you specified 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()).
Please refer to Tom Boyle's response in the below thread. It will give you all the required details.
Hope that helps!
Regards,
Muhammad
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-27-2020 07:48 PM
Hi Muhammad,
Thanks for reply. I have checked Tom Boyle's response.
It is useful when we make outbound REST call by writing java script code.
My problem is related to flow designer. While creating custom action there is a step called REST step
where we can configure outbound REST call. And inside REST call we can not write waitForResponse() method.
Moreover, default response timeout of REST call is 30secs but For the REST step I tested and found default response timeout is more than 30 secs ( for 100secs it is working fine).
So, I want to know default response timeout of REST step and where it is configured. Can we change the same?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-28-2020 05:12 PM
Muhammad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2020 01:59 AM
Yes, I also did not get response timeout configuration for the REST step.
Do you know what is default response timeout of REST step?
It will be helpful for me.