Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
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.)

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 76

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard