Skip to main content

Notifications

Community site session details

Community site session details

Session Id : vK2NN34lqIz3elypmKMg6Y
Copilot Studio - Topic Creation & Management
Answered

Global Variable not being communicated to all topics

Like (0) ShareShare
ReportReport
Posted on 24 Feb 2021 10:38:58 by 41

Email issue.jpg

As you can see in above picture  I ask the user to give their email address in the "main topic" and that is saved as "global variable" to share between topics, the main topic flows are working since the user is asked for the email address in that topic then when the topic jumps to any other topic the flows there fail, I figured out the issue is the email address variable  that is not communicating properly to other topics, hence the subtopic flows fail, as you can see below it shows flow was actioned but there is no run history for the flow.

PVA Bot Error.PNG


Now that I found out that actually the email address is not being communicated from main topic to other topics, how do I fix it? I don't want to ask users give their email address over and over when they jump to a new topic, I guess that is the whole purpose of sharing variables between topics.

 

If you want to read how I got here The bot content is invalid. Error code: 2001 

 

How to make the global bot(bot variable) issue solved?!

  • Verified answer
    Futurist Profile Picture
    41 on 25 Feb 2021 at 10:11:11
    Re: Global Variable not being communicated to all topics

    Hi, figured out what was the issue. there were 2 global bot with very similar name! It is shown in the screenshot the Email variable is Bot.UserEmail but the one in main topic which was collecting the email was called Bot.UserEmail1
    It is interesting that flow was not failing! Anyhow it is solved and topic can be closed.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on 24 Feb 2021 at 13:18:11
    Re: Global Variable not being communicated to all topics

    Hi @Futurist ,

     

    It's obviously because I sent a screenshot but I need to ask you:

    Did you test passing first for this that contains the email question and after redirect to another topic? (if you want, you can test using the Test Bot feature inside the PVA studio, you can see variables on the left side on the black section)

     

    Also if your issue continues, I recommend you to open a ticket from Microsoft support, they can investigate internally what is happening in your environment.

    https://powervirtualagents.microsoft.com/en-us/support

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

Thomas Rice – Community Spotlight

We are honored to recognize Thomas Rice as our March 2025 Community…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,508 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,369 Most Valuable Professional

Leaderboard

Featured topics

Loading complete