Dharmendra Ponala
How to wait for Service Call result when invoking the Service Call using in-line javascript.
Currently the java scripts continue to process after service call execution. However I need to wait from service call’s result to use its result in my Java script.
Any suggestions here is highly appreciated.
SPARK Support
Hello Dharmendra,
The Service Call control provides the events for On Invoked, On Results and On Error. Rather than attempting to wait for the results in a function, a separate function should be provided to these events to continue the logic after the service call has been completed.
Please see the following articles for use of the Service Call control:
https://salientprocess.zendesk.com/hc/en-us/articles/205667228-Service-Call
https://salientprocess.zendesk.com/hc/en-us/articles/215590277-Using-the-Service-Call
Regards,
Stephen P.