79096673

Date: 2024-10-17 06:07:43
Score: 0.5
Natty:
Report link

A better Approach would be to Change the trigger to 'Schedule' once per day - say at 08:00 AM everyday to receive documents uploaded yesterday.

Then you can retrieve the list using 'Get files (properties only) method and use an oData filter to fetch only yesterday's files to avoid overlapping with older ones.

Here's a composite expression to only fetch yesterday's files. this will work as a sliding window every time the flow runs.

Created ge @{addDays(startOfDay(utcNow()),-1)} and Created lt @{startOfDay(utcNow())}

enter image description here

here's what the trigger should look like:

enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Laviza Falak Naz