How does vaSystem.connectToAgent() work in ServiceNow Virtual Agent and can we do any logic in a Virtual Agent Topic after an agent has accepted the chat?
I use the vaSystem.connectToAgent() method call to connect a conversation to an agent. But I am unsure about the nature of this call. I first supposed that it was synchronous, so I thought I could do something like this - gs.info("-----Connecting--...
