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 / Testing Schroedinger's...
Copilot Studio
Unanswered

Testing Schroedinger's variable

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a branched path where the next step depends on the path the user took to get to this point. These past path options include one path where a particular variable (Variable A) is set, and one path where the user never encountered Variable A. The value of Variable A is irrelevant, and if the user came from  the path that doesn't use the variable, then Variable A itself is irrelevant.

To create the new paths, I used a pair of conditions that test whether Variable A "has value" or "has no value (empty)." In testing, however, if Variable A is not set then the next step is the question that sets Variable A.

I understand that this is the default behavior if the bot needs to evaluate a variable that hasn't been set. However, I don't need to access the value. I just need to know if it's there or not. Setting Variable A at this point is inappropriate for the user (it's out of context and serves no purpose--that's why it's not set in the first place).

 

Is there a way around the default behavior? (Note that my team can't upgrade to the Preview version of PVA of this time because of other functionality issues.)

Categories:
I have the same question (0)

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

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard