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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Looking for null value...
Power Automate
Unanswered

Looking for null value in condition

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a simple flow that is supposed to update a row in SQL if a field is null.  I am only pulling back the ID from SQL and then looking to update records identified if one of the fields is NULL.  However, it is always throwing true at the condition and updating records even if the field is NULL.  I have tried using the null function and typing the word null or NULL but none of it works.

 

 

nullMicrosoft Flow.png

 

I found a post with this format but I don't know how to get a one line condition like this (I am always seeing the three fields like the snapshot above) AND I am not sure what the part in the [] is referencing (is that the field to check for null?)  

iffieldempty.jpg

 

How can I only update records if this field is null?

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Basically, if we want to determine if the field is empty, it is valid to use null.

    17.PNG

    The situation you are experiencing is because you set Select Query to the specified field, so Get rows will only return the value of the specified field.

    Although you can apply Dynamic content of other fields, they are all null values, so the result is true.

    18.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So how do I determine if that one field in my select query is null or not?  I need to do the following: 

    If myfield is null, update the field, if not just skip it.

     

    If I understand what you are saying, the null is looking at the whole row?  I guess I don't understand that as the query is returning rows.

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    You do not need to configure Select Query, use Condition to determine whether the specified field is empty, and if it is empty, update the current row.

    13.PNG

     

    Best Regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I am not at all understanding how what you are suggesting is different than what I have already done.  The following is always returning false regardless of whether the field is null or not.

    nullMicrosoft Flow.png

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Only one difference-not configure Select Query:

    6.PNG

     

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 286

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard