I have a SharePoint folder where my team creates and updates a status file every two weeks. Right now I have a Flow setup that automatically copies an empty template and puts the current date on it.
I want to change the flow so that it copies the previous file from two weeks ago so I made a new Flow.
First it does a Sharepoint List Folder on the folder
And then I have an "Apply to Each"
Where it loads SharePoint Body as it was the only option
I do a condition where it compares the SharePoint Name to a GetPastTime Function to see if there is a date in the format. Only it never returns true. I've tried DisplayName, CurrentItem of the Apply to Each, etc but none of them work.