cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chithrashree
New Member

issue in PVA global variables usage in azure bot framework

Hi ,

1)I have created a new bot in PVA and i have created global variable in PVA. and opened the same bot in the Azure bot framework composer.

bot.ReportName

2)In the bot framework composer  i have assigned the userinput value to the Variable "${virtualagent.ReportName}" to get the userinput value to the PVA global variable.

chithrashree_0-1631541216701.png

3) when testing the bot i am getting the below error message when trying execute in PVA.

chithrashree_1-1631541672897.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
lauren-mills
Microsoft
Microsoft

Hi, when you set your property in Composer, you don’t need to use the ${} syntax. You can just set virtualagent.ReportName to user.ReportName.

View solution in original post

4 REPLIES 4
lauren-mills
Microsoft
Microsoft

Hi, when you set your property in Composer, you don’t need to use the ${} syntax. You can just set virtualagent.ReportName to user.ReportName.

chithrashree
New Member

Thanks, worked for me. I have one more question if i have created any bot from the Bot framework for PVA bot that i can see in the PVA topic list.

chithrashree_0-1631544673504.png

I do not have option to create a global variable (+) in this bot. currently i have created global variable in the PVA bot which i have created initially and used the same.

 

lauren-mills
Microsoft
Microsoft

Could you clarify your question? 

 

In BF Composer, you can use conversation, user, dialog, and turn state scopes, but for variables to be accessible in both PVA and Composer they should be stored in the bot/virtualagent scope as you have done in your example above.

Correct.

i have created global variable in PVA bot.ReportName and i have assigned this variable in BF composer.

chithrashree_0-1631614548220.png

 

 

 

 

and  the value is assigned to that variable. But when i am calling the flow passing this variable value the flow is not triggering with the assigned value in PVA . 

Helpful resources

Announcements
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.

Top Kudoed Authors
Users online (6,501)