Question
DMG
NL
Last activity: 15 Sep 2023 6:32 EDT
Timeout for OSCO breakout API call
Hello,
We are using OSCO breakout API call in our Field service applications to fetch recent work object information on to our digital tablets (or mobile).
As part of error handling, we are checking timeout scenario. And we notice that these OSCO breakout API calls timeout at 600 seconds (which is same as default service call timeout, configurable by DSS).
But we want to reduce this OSCO breakout API call timeout to 15 seconds, without effecting default service timeout (or keeping DSS unchanged). In a situation where pega server is busy responding to OSCO breakout API call, we want to timeout at 15 seconds.
I tried to use SetTimeout function to configured OSCO breakout API call timeout, by running OSCO breakout API within SetTimeout function and invoking ClearTimeout on response from server. But this didn't help, as this way we have to wait for Pega server response, which will be same as default timeout (i.e 600 seconds).
Is there a way to configured timeout for OSCO breakout API call?