Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Global Variables in Power Virtual Agent

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I am currently navigating the learning curve of Microsoft's Power Virtual Agent and the Bot Framework Composer, and I am hoping you might be able to assist me with a concern that has arisen during my project.

Specifically, I am attempting to design a bot using a blend of Power Virtual Agent and Bot Framework Composer to generate weather updates. Within the Bot Framework Composer, I have successfully created a dialog and integrated an HTTP request to access weather data. I've been able to use variables from Power Virtual Agent (i.e., virtualagent.property name), but I've hit a roadblock with how these variables persist in the conversation.

On the initial query, the chatbot works perfectly, delivering the requested weather information. However, when I ask a follow-up question, the bot retrieves the prior query's value rather than updating to reflect the current request. This seems to be tied to the global variable in Power Virtual Agent retaining the previous value throughout the conversation.

I would greatly appreciate it if you could shed some light on how I might reset the global variable in Power Virtual Agent after each request, ensuring the bot provides the correct, updated information with each query.

Thank you for taking the time to read my message and for any guidance you might be able to offer. I look forward to your response.

Best Regards,

Ibrahiem 

Categories:

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 66

#2
Pablo Roldan Profile Picture

Pablo Roldan 55

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard