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 / Global Variables in Po...
Copilot Studio
Unanswered

Global Variables in Power Virtual Agent

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 455

#2
Vish WR Profile Picture

Vish WR 295

#3
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 212 Super User 2026 Season 1

Last 30 days Overall leaderboard