Hello team, SOS
I am working on an Omnichannel for Customer Service (D365) implementation. I have a bot developed in PVA that works as a user in D365.
I need from the PVA bot to obtain the conversationid and then with power virtual automate obtain the name of the contact.
I am trying to use the va_conversationId and bot msdyn_liveworkitemid context variables but they work randomly. If I use them in the greeting topic the variable is empty. On the other hand, if I use it after asking some questions, the variable is complete.
Context variables take time to initialize? How can I get the conversation id when starting the chat?
I need it for multiple channels (facebook, live chat, whatsapp).
Thank you!
hI @fernarod ,
Unfortunately, you can just get the conversation Id using the Custom Canvas (custom website), using JavaScript you can get all information behind the Html code.
You can suggest your idea here: https://aka.ms/pva/community/ideas
You can see the reference here: https://powerusers.microsoft.com/t5/Publish-Channel-Management/Is-it-possible-to-reconnect-the-user-...
Thanks @renatoromao , from what I see the variable msdyn_liveworkitemid is populated with the conversation id after a few seconds, it is not immediate. For that reason I cannot get the id when starting the conversation.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.