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

Notifications

Announcements

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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard