You need to sign in to do that
Don't have an account?
kriti v
How can we call apex controller method on call back of omni channel toolkit API like getagentworks etc
We are calling getagentworks function, on call back of this i need to call apex controller method. But, getagentworks is asynchronous and returns a promise, before completion of getagentworks it is calling apex controller. How to resolve promise
Raj Vakati
Sample code is here
kriti v
Thanks for reply. I tried this, before completing the execution of agentworks it is calling backend method first.