WaitForResponse method does not reflect set value
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-01-2022 02:58 AM
Hello.
I am using the waitForResponse method of RESTMessageV2 to set the time until timeout to wait for a REST API response.
waitForResponse(120);
the timeout seems to occur in 60 seconds.
Please let me know if there is any other possible cause.
Configuration of sys_properties
glide.http.outbound.max_timeout.enabled is falseuse.
I have not set glide.rest.outbound.ecc_response.timeout.
Please help me with this.
Translated with www.DeepL.com/Translator (free version)

- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-01-2022 03:29 AM
waiting for a response for that long is not advisable as you will be holding onto a worker for 2 minutes which will negatively impact your servicenow instance. This should be moved to an aysnc REST call
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
08-02-2022 04:10 AM
Thank you Kieran, I will try to get the information from you.
I will consider implementing this in aysnc REST.