Change default response timeout of REST Step.

Sanjay1
Kilo Explorer

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.

5 REPLIES 5

MrMuhammad
Giga Sage

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.

https://community.servicenow.com/community?id=community_question&sys_id=c545bc72db3877880be6a345ca96...

Hope that helps!

Regards,

Muhammad

Regards,
Muhammad

Hi Muhammad,

Thanks for reply. I have checked Tom Boyle's response.

https://community.servicenow.com/community?id=community_question&sys_id=c545bc72db3877880be6a345ca96...

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?

I believe there is no specific properties for Rest step. Two properties mentioned are the ones need to be updated to control rest timeout regardless of the tool..
Regards,
Muhammad

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.