Skip to main content

Notifications

Copilot Studio - General
Answered

Having more than 1 Multiple choice option with the same option value breaks the chatbot flow.

Posted on by 6

Hi 

 

I have a simple chatbot that asks 2 question to the user about their wine preference. First it asks if the user likes red, white or no preference. Then it asks if they like a dry wine, sweet wine or again no preference. These values are then passed on to a flow that sends back a result. The issue is that when the user selects no preference for the first question this is also selected for the second question and skips over the second question. If I change the option value so they aren't both exactly the same it does work as expected. I double checked and both choices save their responses to a different variable. Also all other scenarios work as expected.

 

Any ideas on this?

Thanks

  • RuneHanssens Profile Picture
    RuneHanssens 6 on at
    Re: Having more than 1 Multiple choice option with the same option value breaks the chatbot flow.

    @renatoromao Thanks! Fixed.

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,459 on at
    Re: Having more than 1 Multiple choice option with the same option value breaks the chatbot flow.

    Hi @RuneHanssens ,

     

    Your bot is skipping the question because you need to mark the question to ask every time.

    Go to your question and click on the ellipses. Select the option to ask every time.

  • RuneHanssens Profile Picture
    RuneHanssens 6 on at
    Re: Having more than 1 Multiple choice option with the same option value breaks the chatbot flow.

    @DiegoPeres 

    I pass both different values to my flow if that is what you mean. I'll add some screenshots to clarify the situation. Questions are in dutch but I think you will understand.

     

    question 1

    RuneHanssens_0-1629986261512.png

     

    question 2

    RuneHanssens_1-1629986317854.png

     

    Flow call

    RuneHanssens_2-1629986405879.png

     

    As you can see I use both different variables in my flow.

  • DiegoPeres Profile Picture
    DiegoPeres 327 on at
    Re: Having more than 1 Multiple choice option with the same option value breaks the chatbot flow.

    Hi @RuneHanssens , 

    So if you ask the user two questions, the answer to each question is actually saved in a variable.
    In this case, when selecting, red or white wine or no preference is saved in variable A and the choice of mild, dry or no preference is saved in variable B.

    You have to pass both variables into your stream.

    Did I answer your question?😉
    Please consider accepting it as the solution to help other members find you faster.
    Thanks!
    Diego Peres,
    Connect with me: Linkedin


Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,997

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard