Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Conditional statement fails

(0) ShareShare
ReportReport
Posted on by

So I'm trying to use Microsoft Forms to send out an event invite. 

Berrie_0-1637237312006.png

And I made a Condition (Voorwaarde in dutch 😉 Answer tot question from forms equels Answer A (I tried with other values, but this one I came across in help topcic https://powerusers.microsoft.com/t5/General-Power-Automate/Using-specific-answers-in-Forms-as-conditions-in-a-flow/td-p/190305

So when I get back the results it said False instead of True....

 

Power Automate.jpg

Why am I not getting "true" back from my statement? That's the question.

 

Tnx very much Berrie.

  • mahoneypat Profile Picture
    1,720 on at
    Re: Conditional statement fails

    Since your data are in an array, you need to extract the first value with ?[0].  In Edit mode, hover over the dynamic value you added to the Condition step, to see the code you need to put in the Expression editor.  Put ?['0'] after that.  Since the index of an array starts at 0, that will grab the first value and compare it to your specified value.

     

    Pat

  • Community Power Platform Member Profile Picture
    on at
    Re: Conditional statement fails

    Tnx Rob for taking the time to help.

    Your correct, it is a choise colum. I've got 3 choices, and one of those is "11 uur". I've been able tot make it work with "contains" as an option. But with "is equal to" it fails. 

    Within the dynamic content browser I've got the following options

    Berrie_0-1637247224132.png

    I've pick the first "Answers to the question above". I should be able to fill in the "is equel to" value instead of "contains" to succesfull do this flow?

    Tnx again Berend. 

  • RobElliott Profile Picture
    10,118 Super User 2025 Season 1 on at
    Re: Conditional statement fails

    It looks like your column for Answer A is a choice column. So for the left hand field you need to select
    Your question Value in the dynamic content box.

     

    Choice-Value.png

     

    Rob
    Los Gallardos
    If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,670 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow