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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Are global variables p...
Copilot Studio
Answered

Are global variables per session or for all users?

(0) ShareShare
ReportReport
Posted on by 11

If I set a global variable, either from within the PVA or the a external source as per below, does it hold its value per session/user or does it reflect all users / all current sessions?

https://powervirtualagents.microsoft.com/en-us/blog/reusing-variables-across-topics-and-setting-variable-values-from-external-sources/

Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    68,898 Most Valuable Professional on at

    Global variables are scoped to that particular bot, so they are per session. They are global because they are visible in all the Topics when the bot instance is running.  Regular variables are only visible in the Topic they are declared in, although they can be designated as input or output variables and passed between topics.

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!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 303

#2
chiaraalina Profile Picture

chiaraalina 104 Super User 2026 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 94 Moderator

Last 30 days Overall leaderboard