Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Suggested answer

Issue with multiple choice questions – used to work, now broken

(0) ShareShare
ReportReport
Posted on by

Hi,

 

I’ve been working on a Copilot Studio topic where I use multiple choice questions (OptionSet). Everything was working perfectly until a few days ago, but now the same expressions are throwing errors.

 

Whenever I try to create a condition based on the user’s response (e.g. "Non, merci"), I get this error:

 
 

"The name is not valid. 'Non, merci' is not recognized."

"Incompatible types for comparison. These types can be compared: OptionSetValue, Error."

 

This happens even though I didn’t change anything in the logic or question.

 

It seems like comparing the user’s answer directly to a string now causes issues, even though it was working before.

 

Could you please let me know:

 

  •  

    What changed regarding how OptionSet values should be handled?


  •  

    What is the correct way now to compare a user’s choice (like "Non, merci") in a condition?


  •  

    How can I reliably handle a 3-option question and redirect to different topics?



  •  
 

Thanks in advance

Categories:
  • Suggested answer
    sandeep_angara Profile Picture
    184 on at
    Issue with multiple choice questions – used to work, now broken
    You are right @SM-27051244-0. There seems to be a change in how option sets are accessed in Copilot studio.

    When I tried with preview instance: copilotstudio.preview.microsoft.com
    The option sets are automatically being shown in the dropdown:
     
     
    If you couldn't see this or access your option sets this way. Below is the workaround. 
     
    - Click on three dots of in the option set selection field
    - Head to Formula section
    - Provide this formula <YourTopicLogicalName>.main.<QuestionNodeId>.'YourOptionSet'
    ** When you are actually typing this formula, the formula will be suggested up till question node. You just add DOT(.) and select your option set.
     
     
    ----
    If this solves your problem, please mark this as verified answer. Thank you
     
    Sandeep Angara
     

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... 99

#2
Pablo Roldan Profile Picture

Pablo Roldan 61

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 34 Super User 2025 Season 1

Overall leaderboard