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 / Need help with conditi...
Power Automate
Answered

Need help with condition to find empty value

(0) ShareShare
ReportReport
Posted on by 15

Need a Condition, if the choice Category field equals to Engineer and the lookup column Sponsor field is empty; I want it to follow the YES path but if the Category field equals Engineer and the Sponsor field is not empty then follow the NO path which terminates the flow.

The 1st row of the condition works. I can't get the 2nd row to find/fetch the empty value.

 

I used the 1st dynamic field below from Get Item group, operator "is equal to" and the expression: equals(triggerOutputs()?['body/LU_x003a__x0020_WO_x003a_Sponsor'],null)

 

For the 2nd row, should I use the Dynamic field from Get Item or from When Item is Created (the item was created on another flow):

 

  1. LU: WO:Sponsor
  2. LU: WO:Sponsor Id
  3. LU: WO:Sponsor Value
Empty.PNG
Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2025 Season 2 on at

    Hi @Paulcofla 

     

    The way you have written the expression is wrong and also the expression content , see below 

     

    It should be the way the expression is written

    Nived_Nambiar_0-1715500045504.png

     

    Also try this expression as Sponsor value is always present in value attribute which can be found from trigger output itself.

     

    or(equals(triggerOutputs()?['body/LU_x003a__x0020_WO_x003a_Sponsor']?['Value'],null),empty(triggerOutputs()?['body/LU_x003a__x0020_WO_x003a_Sponsor']?['Value']))
     
    Nived_Nambiar_1-1715500152629.png

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Paulcofla Profile Picture
    15 on at

    @Nived_Nambiar Thank you so much! this worked perfectly. You are the best!!

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard