web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow with a checking c...
Power Automate
Unanswered

Flow with a checking condition a true/false value which always returns false

(5) ShareShare
ReportReport
Posted on by 12

I have a requirement on Microsoft Flow. Depending upon my requirement, I have a SharePoint List and in that list, I have one Yes/No field column.

When I am trying to put this Yes/No field Column in flow Condition is equal to true/false or 0/1, Always the condition returns as "no" even if it is true. How can I resolve this issue?

Below is the flow screenshot: 

 

flow error.png

Categories:
I have the same question (1)
  • BlueCar Profile Picture
    52 on at

    I don't know if it's related, but I have a flow I'm working on, and last week, my conditions where working perfectly, but now they seem to return false (no) and I can't figure out why. At this moment I'm still trying to figure out what's wrong.

    This should return true, if the three fields are cleared, but it always returns false, even if they are cleared.

    image.png

     

    I can get it to return true (yes), if I change "is equal to" to "is not equal to".

    As I said, this was working last week.

  • v-bacao-msft Profile Picture
    on at

    Hi @Preetish ,

     

    Could you provide more details about the field you mentioned?

    Do you have any special treatment for it?

    Basically the return value of Yes/No field is true and false.

    I did a test on my side. If Yes is selected in the field, the result of Condition judgment will be true.

    Image reference:

    21.PNG

    You could try adding a Compose action on Condition to output the return value of the current field to see if this field selects Yes or No.

    22.PNG

    Please take a try and see if issue still exists.

    If the problem persists, please provide Flow run history, including the results of Compose output so that we can analyze the problem.

     

    Best Regards,

  • Ruokiri Profile Picture
    11 on at

    I got the same problem. Adding "compose" fixed it 🙂

  • myrful Profile Picture
    5 on at

    I have the same issue.  I tried adding compose to the condition, which returns the Yes/True as it should, but it still prompts false. 

    @v-bacao-msft 

  • acewmu Profile Picture
    8 on at
  • acewmu Profile Picture
    8 on at

    /

  • webbrewer Profile Picture
    338 on at

    The op's screenshot shows the word "true" being manually added which won't work. Has to be an expression you can look up. Not very intuitive and poorly documented as usual.

    Untitled.png

  • Joe_Fox Profile Picture
    67 on at

    As the blog post that @acewmu points to, and the screenshot that @webbrewer shows, you have to add the 'true' part via an expression:

     

    expression true.png

    One thing to add is that (for me at least) when you type true in the expression input box and click the autocompleted 'true' (in blue text with the little icon next to it on the left as shown in the image above), then click OK, you might get an error saying "The expression is invalid". IGNORE THAT! It's an annoying little bug. Simply click OK to close the error dialog box and then click OK underneath the expression input box and, this time, the "error" will not appear and true will appear in the condition box in a pink box with the 'fx' icon next to it on the left (as shown in the image above)

  • Alphie Profile Picture
    48 on at

    Thought I would add that if you are using "experimental features" I am showing a bug where the true/false/null functions show up as undefined.

    Experimental Features enabled:

    Alphie_1-1651241746143.png

    Experimental Features disabled:

    Alphie_0-1651241675228.png

     

  • LW2016 Profile Picture
    30 on at

    Thank you for this - I could not figure out why I kept getting undefined!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard