Hello. I'm a rookie user. My goal is to prepend existing files with the last modified date/time stamp. I've succeeded with the current date/time, but keep failing with last modified. I've tried so many different flows, I'm not sure which one is best to post here.
The process is as follows:
Get files (properties only) (find all files created in the past 24 hours)
- Filter Query: Modified gt '@{formatDateTime(addDays(utcNow(),-1),'yyyy-MM-dd')}'
Then, under a For Each:
Get file metadata (based on Identifier)
Get last modified time/date stamp in string format (I've tried several methods, none of which have worked)
Get file content (based on Identifier)
Create file
- File Name: (concat LastModified + existing file name and extension)
- File Content: body('Get_file_content')
Delete file (based on Identifier)
Again, I'm a rookie, so I apologize if this needs to be presented differently. Any help is appreciated.