Skip to main content

Notifications

Topic Creation & Management
Unanswered

If-condition

Posted on by

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

  • CleberM Profile Picture
    CleberM on at
    Re: If-condition

    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

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
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics