Hi all
I'm trying to build a flow that will check if a document in Sharepoint was updated today.
I've used get file metadata to return the modified date but am struggling with any expression to compare this to today's date. I know this is probably due to modified date using date/time or issues with the date format.
Here's what I've got at the moment but it generates an error. Even if I could just compare day of week that would be fine.
The overall aim is to check that a job that updates files every day has successfully run or not.
@not(equals(dayOfWeek(body('Get_file_metadata')?['LastModified']), dayofWeek(utcnow('dd-mm-yyyy'))))
Thanks for your help