cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RuneHanssens
Frequent Visitor

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

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.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

View solution in original post

4 REPLIES 4
DiegoPeres
Responsive Resident
Responsive Resident

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


RuneHanssens
Frequent Visitor

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

renatoromao
Super User
Super User

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.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português
RuneHanssens
Frequent Visitor

@renatoromao Thanks! Fixed.