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

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

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard