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 / Using null expression ...
Power Automate
Answered

Using null expression in condition

(0) ShareShare
ReportReport
Posted on by 29

Hi to all,

 

I have a question about using expression "null" in condition.

I am checking for empty sharepoint column. 
When I use the condition like this, everything works fine and when the field in the sharepoint list is empty, the condition goes true, when there is any value the it goes false. 

condotion2.PNG

 

But when I try to use the condition like this, it always goes false. Am I geeting it wrong and it could not be used like this? 

condotion.PNG

 

I'm checking for multiple columns and I need to find the first one which is empty and put some value in it. I had no problems from the start, but as the number of columns started to grow, I needed to add some condotions and when I tried to use six in row inside IF condotion the Flow stops giving me the options as you can see bellow. So I needed to devide the conditions and that is why I need to use "is not equal to NULL"

condotion3.PNG

Thank you for your advice. 
Michal

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Hi!
    I usually have null related problems abd am afraid I have no answer to your question... that's the reason I then to use coalesce() in such circumstances
    https://docs.microsoft.com/bs-latn-ba/azure/logic-apps/workflow-definition-language-functions-reference#coalesce
    Hope this helps
  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @michalparal ,

     

    I have made a similar test on my side and I don’t encounter the same situation.

    45.PNG46.PNG

    Have you used other fields to do a similar test?

     

    Besides, you could use empty() function to check if the field is empty.

    47.PNG

    Hope this helps.

     

    Best Regards,

  • michalparal Profile Picture
    29 on at

    Hi,

     

    thanks a lot, I have been trying to find out what was the problem for 2 days. After you write your answer, I have done some testing and I found out, that in the middle of the flow I had a mistake. So thank you for your response. And also thank for empty function becasuse with it, it works even better.

    Thank you,

    Michal

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 889

#2
Valantis Profile Picture

Valantis 830

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard