cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ginevraPasinfo
New Member

If-condition

I have a chatbot that is behaving buggy with if-conditions: even though one choice is defined, both branches hit and corresponding questions are shown in the chatbot-frame. This is also visible in the tracking frame "Track between topics", se image attached.

For example, I have a question "Is the phone number correct?" to which the user can choose Yes or No. If Yes, I show a confirmation message and redirect to a new topic. If No, I want to ask a new question: "What is the correct number?". 

If I click Yes, I both get the confirmation message and the question "What is the correct number?"

 

This cannot be right, right??

 

Snag_40a51b0b.png

1 REPLY 1
CleberM
PVA
PVA

Hi @ginevraPasinfo , thanks for posting.

 

I suspect what is happening here is that you are using the variable from the question node on the right side somewhere, and the user is being sent back to this node to fill in the variable.

 

Are you using the "bot.TlfOppdatert_Oppgitt_IP1" variable somewhere else? The moment you try to use it, the user is sent back to that question node to fill it in. 

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

March Update

Welcome to the User Group Private Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (39,605)