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.650 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.650 students) : English | Português

View solution in original post

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.650 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
PVA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

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

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (1,524)