I have been able to moves files under a folder from one to another in SharePoint. But for the life of me I cannot figure out how to only moves files that start and end with a certain file name.
I have tried looking around forums of many kinds, but I have not seen anyone with my specific problem. I want to move files that start with a certain combination of numbers and letters, and the file name ends with the previous day's date.
The goal is to move files of a certain group every day to another file location, the folder they start in has many other files that need to be skipped. The flow should recognize that they start with a certain name and that they're files from the day previous, move them to the destination folder, then repeat this every day.
I have tried using conditionals and variables, but I end up with errors about wrong data type.
I appreciate any insight into how this might be solved, or another way to go about moving SharePoint files.
This is the code that moves files, this does work, but when I try to add variables and conditionals it fails:
