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 / @empty condition not w...
Power Automate
Answered

@empty condition not working properly after 'Get Items' action

(0) ShareShare
ReportReport
Posted on by 18

I have a flow that is set to trigger on a monthly basis to check for empty fields in a particular column. The '@empty' function works perfectly well if I use a simple 'When a new item is created' trigger, but it does not work on an existing list where I have to use the 'Get Items' trigger:

 

@empty.JPG

 

The condition simply returns true for each item, even if that item has data. I know the '@empty' syntax is correct because it works when I use the 'When a new item is created' trigger instead. 

 

Any ideas? I'm stumped!

 

Thanks

Categories:
I have the same question (0)
  • gtsmith Profile Picture
    18 on at

    I came up with a clever workaround for now. I created a column labeled 'ThisFieldToRemainBlank' and changed my condition from '@empty' to if 'Dec Update' is equal to 'ThisFieldToRemainBlank'. The workaround works for now (as long as no one enters data into my 'ThisFieldToRemainBlank' column) but I'd like to know if anyone has a proper solution to the issue. 

     

    Thanks,

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @gtsmith,

     

    Could you please share a bit more about the data structure of your SharePoint list?

    Which type is the Dec Update column in your SharePoint list?

     

    I think there is something wrong with the formula in your Condition box. I have made a test on my side and the flow works well. My flow’s configuration as below:10.JPG

    Within Condition box, click “Edit in advanced mode”, type the following formula:

    @empty(items('Apply_to_each')?['Dec_x0020_Update']) 

    The flow works successfully as below:11.JPG

    Please consider take a try to change your formula within Condition box to above formula that I provided and check if the issue is solved.

     

    Best regards,

    Kris

  • gtsmith Profile Picture
    18 on at

    Thank you very much, Kris - your modified formula is exactly what I was looking for. It worked fine on my end too. 

     

    Thanks again.

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 791

#2
Valantis Profile Picture

Valantis 568

#3
Haque Profile Picture

Haque 535

Last 30 days Overall leaderboard