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 / Flow not filtering cor...
Power Automate
Unanswered

Flow not filtering correctly

(0) ShareShare
ReportReport
Posted on by 72
Hello,
 
I have a flow that's not filtering correctly and I'm unsure why
 
I've created the flow to have an email sent at 10am in the morning and then again at 4pm in the afternoon every day that displays any new office closure entries that have been submitted into the office closure table of the office closure power app I've built. Below is the flow and below that is the output from the last run. The final screen shot shows the table from the app. The entry that was created on 3/5/2025 should not be included in the output and in the email notification. Any ideas as to what I'm missing?
 
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,369 Super User 2025 Season 2 on at
    hi
     
    What are the time zones? I am wondering if you need to offset for that (convert the value by timezone)
  • GM-22011819-0 Profile Picture
    72 on at
    Thanks for the reply!
     
    My app registers the created-on date by EST.
     
    I have the recurrence schedule set in EST as well (image below).
     
    Forgive me as I'm still a novice - it seems I have to use the convert time zone action to understand the time zone of my flow as this cannot be identified in settings, etc. Is this correct in terms of your question? If so, what would I include in the Base Time Field?
     
     
     
  • GM-22011819-0 Profile Picture
    72 on at
    I tried breaking the flow out to test each component. 
     
    I'm starting with the filter rows expression (shown below):
     
    createdon ge '@{formatDateTime(convertTimeZone(utcNow(), 'UTC', 'Eastern Standard Time', 'yyyy-MM-dd'), 'yyyy-MM-dd')}T00:00:00Z' 
    and createdon lt '@{formatDateTime(convertTimeZone(addDays(utcNow(), 1), 'UTC', 'Eastern Standard Time', 'yyyy-MM-dd'), 'yyyy-MM-dd')}T00:00:00Z'
     
    My first question is...   Shouldn't the output show the entries that were created today 3/6/2025? Instead, it shows "200".
     
    I attempted to add a compose following the list rows but each time I select any dynamic content, an apply to each is automatically added which I do not want given the end goal of sending 1 email with all entries from that day.
     
    Any guidance is appreciated!
     
  • GM-22011819-0 Profile Picture
    72 on at
    Continuing from my last post...
     
     
    The Filter array output is also blank. I used the created on is equal to startOfDay(utcNow()) expression.
     
    I'll pause here before continuing to ensure I'm tracking in the right direction.
     
    Thank you in advance!
     

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

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard