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 / @empty condition on a ...
Power Automate
Unanswered

@empty condition on a date field in an SPO doc library always returns true

(0) ShareShare
ReportReport
Posted on by 10,323 Super User 2025 Season 2

I have a recurrence flow that runs once a day and needs to check whether a custom datetime SharePoint (modern) column, NextReview, is empty or not.  After the get items action there is a condition control with: 

@empty(triggerBody()?['NextReview'])

but it always returns true, that is it takes the next action on the basis that it thinks the column in SharePoint is empty which is not the case. I've not had this problem with SharePoint lists, it only seems to affect document libraries and seems to happen whatever the column type. It looks to be a bug but does anyone have a suggestion for a way round it?

Categories:
I have the same question (0)
  • Verified answer
    v-bacao-msft Profile Picture
    on at

    Hi @RobElliott,

     

    Your expression has nothing to do with Get items action, so you can't check if the specified field is empty.

    Because your current configuration of the trigger does not have anything to do with the Library, it just controls when the Flow will fire.

    You should configure your Flow like this. The Condition can be configured in two ways, as below:

    Method 1:

    9.PNG

    Method 2:

    10.PNG

    Please take a try again.

     

    Best Regards,

    Barry

  • RobElliott Profile Picture
    10,323 Super User 2025 Season 2 on at

    Thanks Barry @v-bacao-msft that works perfectly now with Method 1. I really should have thought of that myself!.

     

    Rob

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

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard