cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper III
Helper III

Send an email if no record has been created

I have a SP List where is mandatory to create new record every day
I made a flow to alert the managers if the user didn't create any new record for the current day, but my flow is running even if there is a record that matches the day


EC_1_0-1606664501427.png

The flow runs every day at 5:30
Get the items from SP sort by ID in Descending with TOP Count = 1
and it evaluate if the Create Date is equal to Now

Yes: Does Nothing
No: Send the email to managers 

1 REPLY 1
Resolver I
Resolver I

UTCNow() is a timestamp. It includes Date and Time. So nothing will ever equal to it unless an item is created exactly when the flow runs. That is why every item is getting flagged for email. You need to test your items against the date only, or test using a greater than or less than condition.

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (29,269)