Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to use waitfor response method in servicenow rest call?

Not applicable

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??

 

9 REPLIES 9

Not applicable

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.

@Community Alums 

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.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Not applicable

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?

@Community Alums 

not very sure.

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Bhimashankar H
Mega Sage

Hey @Community Alums ,

 

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