Any updates on this?
Copilot studio Condition node not working. Choice variable selection not saving
I am creating a topic which gives users information in copilot studio. I created a multiple choice question with a choice variable but the selection in the condition goes back to object Object after savings. Do you know what might be happening?
Microsoft Copilot | Other
2 answers
Sort by: Most helpful
-
Karan Shewale 2,505 Reputation points Microsoft External Staff
2025-05-21T08:20:11.26+00:00 Hi Sibusiso,
you can try this way to resolve this issue. The issue where a choice variable turns into
[object Object]in a Condition node happens because the variable is stored as an object, not a plain string.
Fix: Convert to Text
To resolve it, cast the choice variable using
Text()before the condition.Option 1 – Inline Fix:
If(Text(Topic.YourChoiceVariable) = "Technical", ...)
Option 2 – Set a new variable first:
Set(ChoiceAsString, Text(Topic.YourChoiceVariable))
Then use
ChoiceAsStringin your condition.
Documents for reference:
Copilot Studio Authoring Guide
Thanks,
Karan Shewale .
*************************************************************************
If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.