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.
3) when testing the bot i am getting the below error message when trying execute in PVA.
Correct.
i have created global variable in PVA bot.ReportName and i have assigned this variable in BF composer.
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 .
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.
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.
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.
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.