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 / Looking for null value...
Power Automate
Unanswered

Looking for null value in condition

(0) ShareShare
ReportReport
Posted on by

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
    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
    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
    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
    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
    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

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard