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 / Scheduled flow with ti...
Power Automate
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



Categories:
I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at

    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

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard