Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Scheduled flow with time filter only working sometimes

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I've built a scheduled flow that grabs tweets (rows of data) from an excel file (that another flow or set of flows populates), filters them based on date and time, and sends an email. In an ideal world, this email will only contain tweets posted within the last two hours.

 

I ran into an issue where the ODATA filter doesn't want to allow a "greater than" operation on the twitter posted time, so I've had to split my filters between "posted on date" and "posted time", where the date is filtered via ODATA when the rows are imported, and the time is done via a "filter array" operation. Any thoughts/critiques on this approach are welcome - I feel like this workaround is probably where the bug is somewhere.

 

For some reason, this flow will operate as intended, but only in the evenings for a 4 hour time span (the 6pm and 8 pm emails in US Central Time). The tweet posted times are in UTC, and the conversion columns in the Excel just split the tweet posted times into date and time segments, so are also in UTC... so the filters should be good to go at all times.

 

I'm stuck on why this flow sends empty tables from 12 am to 4 pm Central Time, then works until about 9 pm, then starts sending empty tables again.

 

For reference, here's a tweet from my excel file:

nameJustin L. Williams
usernamejwwilliamstrial
tweetttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttInvestigators release preliminary report on pipeline explosion in Corpus Christi Ship Channel https://t.co/Fj9PIjOk8Q
DatePosted09/29/2020
Time Posted05:39:04 PM
Tweet URLhttps://twitter.com/jwwilliamstrial/status/1311008571023405056
user friends131
user followers34
tweet favoritesFALSE
keywordexplosion
user locationCorpus Christi, Texas
posted2020-09-29T18:22:55.000Z
user descriptionPartner at Williams Attorneys P. L. L. C. Former partner at at COLE, EASLEY, SCIBA & WILLIAMS. Tries cases for injured parties y
TimePostedCentralUS1:16:06 AM

 

And the flow:


Tweet-to-Email Flow.png



  • JohnAageAnderse Profile Picture
    1,986 on at
    Re: Scheduled flow with time filter only working sometimes

    Hello @cbreshears 

    Did you find a solution to your issue or is it still relevant?

    One thing I observed is your Get past time step - change the value -2 to 2. The step will take the current time minus the value and with your -2 it will instead add two hours 🙂

    Let us know how it goes.

    Kind regards, John

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow