Alternative for gs.sleep() in employee center portal widget
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2024 11:38 AM
Hello Community,
We are in phase of implementing a Integration via Rest API.
Updated Server script in widget by adding all the HTTP methods and parameters using sn_ws.RESTMessageV2.
We have to make a method execute, until the previous method executed completely,
For eg: when we are getting the remote action status response, we want the previous method 'trigger remote action' execute successfully, so that status method will not return any incomplete response.
Since using gs.sleep() is not advisable in EC portal, Is there any alternative to make the method wait to execute and get the response.
Replies are much appreciated.
Thanks,
Jyo.
0 REPLIES 0