web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / issue in PVA global va...
Copilot Studio
Answered

issue in PVA global variables usage in azure bot framework

(0) ShareShare
ReportReport
Posted on by 7

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

 

 

 

Categories:
  • Verified answer
    lauren-mills Profile Picture
    Microsoft Employee on at

    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 Profile Picture
    7 on at

    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 Profile Picture
    Microsoft Employee on at

    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.

  • chithrashree Profile Picture
    7 on at

    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 . 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Copilot Studio

#1
11manish Profile Picture

11manish 120 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 90

#3
anirudhev Profile Picture

anirudhev 70

Last 30 days Overall leaderboard