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
Solved! Go to Solution.
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.
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.
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.
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.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.