cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Allen_Gao
Microsoft
Microsoft

How to get session ID real-time and give it to user?

Dear:

Hi This is Allen from Azure WCF Team.

Wanna know could we get the session ID real-time(I mean during the process of chat, something like a global variable)

Because we wanna give this session ID to the user, when they have problem with our service they could also include that session Id so we could more efficiently locate the chat history in log file to see what actually happened.

Looking forward to your reply

Allen

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Allen_Gao ,

 

You can see this topic: https://powerusers.microsoft.com/t5/Publish-Channel-Management/Is-it-possible-to-reconnect-the-user-...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

4 REPLIES 4
renatoromao
Super User
Super User

Hi @Allen_Gao ,

 

You can see this topic: https://powerusers.microsoft.com/t5/Publish-Channel-Management/Is-it-possible-to-reconnect-the-user-...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Thanks @renatoromao  that fetch code works for me.

And now there is another question, could I send this conversation id back to my power agent bot(wanna use it between topics as a global variable)

Any ideas or solutions here?

Looking forward to your reply

Allen

Hi @Allen_Gao ,

 

Nice! 🙂

You can use external variables inside the PVA topics.

https://docs.microsoft.com/en-us/power-virtual-agents/authoring-variables-bot#set-a-bot-variables-va... 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

Hi @renatoromao thanks for your reply. 

Have checked that doc, still get a little confused.

As in previous step I already got the conversationId,

now I want to set conversationId as a global variable in my bot

but I need to set a question first then I could set the value of it?

Also, how to send the conversationId back to bot? as the bot is not an API, it could not receive the HTTP request?

 

Inside that doc it said could append variable in store, but how could use that variable in PowerVA?

but how does that work? really get confused here

 

Looking forward to your reply

Allen

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,732)