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 / How do I reset a Globa...
Copilot Studio
Unanswered

How do I reset a Global Bot Variable

(0) ShareShare
ReportReport
Posted on by 95

I am building a Help Desk bot.  I have a global bot variable called Category for when a user is logging a help desk ticket.

 

How do I reset this variable? 

 

If the user selects a category and logs a ticket it works fine.  But if they come back and log a second ticket it uses the value from the previous session.  Is there a way to clear the session and clear the value from the Global Variable?

 

Thanks,


Éilis

I have the same question (0)
  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @eilishourigan ,

     

    You can select the "..." at the side of your question, click on the Skip question settings, change to the "Ask a question" option.

    Now, every time that the user sends a message, the chatbot will ask this question.

  • eilishourigan Profile Picture
    95 on at

    Thanks for your response @renatoromao 

     

    Unfortunately this won't fix my problem.

     

    My user if they click 'Hello' get given all Help Desk Options - I have an Issue, I want to Log Feedback etc.

     

    If they select I have an issue I ask for the Category - my global bot variable is set and they are directed to the topic related to that Category.  The bot asks questions and tries to fix the issue but if it can't it logs a ticket using the Category.

     

    However, my user can also type Log Ticket and get straight to logging a ticket - if the Bot Variable 'Category' is empty then they get asked for the category.  However if they have had a previous session it is using the Category value from the previous session.

  • eilishourigan Profile Picture
    95 on at

    Apologies @renatoromao I actually said I'd give the solution a try and it worked.  I will leave my previous reply up there just in case it helps someone else.

     

    So to summarise I went to the original question and set it to 'Always ask the question' as recommended by @re

    and it fixed the problem.

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Great, @eilishourigan !!! 🙂

  • ThePowerBro Profile Picture
    8 on at

    facing similar issue. I don't find any skip question setting. Any help?

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 273 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard