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 :
Copilot Studio
Unanswered

Clearing Variables

(0) ShareShare
ReportReport
Posted on by 18
Hi, Working in Copilot Studio on a bot that gives generative answers from AI Search content. While it would not be the norm for a user to go in and ask a bunch of disconnected questions, they would typically be drilling into one subject, making the state management a very valuable thing; we are trying to get in front of the potential edge cases and anomalies that could come up with users asking questions from all over the scope of our content in one conversation. For this, we are trying to find the best way, in the backend with Copilot studio, to clear out the variables after each user input/bot output. We have done this with 'Blank()' in each of the variables that holds content, shown in the Variables>Test view. And I am actively watching them fulling clear out in between each question. This does not seem to work. These are definitely edge cases, but this is an example of something we want to be prepared for:
 
User- What is a membership?
Bot- A membership is a contract of time and money with expectations between....... (citation)
User-Where can I buy juice?
Bot- Your contract can show you where to buy juice. (random citation)
 
What other ways are people finding to clear variables within the same conversation, through the Copilot Studio UI backend?
Or, is there another way to do this?
Some variables are Topical, some are Global, and there is not one point in the conversation where they can all be cleared. They need to be cleared after the appropriate API calls have been executed.
 
Categories:
I have the same question (3)

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard