I have an automated workflow that runs every morning (tried to attach a pic of the flow as a cover photo). The workflow looks at 2 folder locations on sharepoint, pulls in Get files (properties only) and then filters this data to ultimately send an email with 2 tables of all the files created/added the previous day.
This worked great until we hit 2022. Now when the workflow runs it is generating a massive list of files created/added since the previous day. I feel like it's ignoring the year and just pulling together a list of everything created since Jan 2 without checking the year?
Filter array is doing this:
formatDateTime(item()?['Created'], 'MM/dd/yyyy')
is greater than or equal to
AddDays(utcnow(), -1, 'MM/dd/yyyy')
advanced mode if you prefer: @greaterOrEquals(formatDateTime(item()?['Created'], 'MM/dd/yyyy'), AddDays(utcnow(), -1, 'MM/dd/yyyy'))
Can anyone help?