EDIT: I can't delete this so I'll just give a summary of what I've reverted to doing...
So I got a "recursive" search working using nested "List files in folder" commands in combination with the IsFolder boolean, but I learned that my team puts their project folders at inconsistent subfolder depths. So trying to find their Project folder using a mix of If conditions and Name "Starts with" Subject conditions would get messy and might take too long to process by Flow. But it's possible to do. Luckily they store the project folder path in tangential software that has API capabilities, so I'm going to try calling the project folder path via the API instead...
So far, I have the following, which successfully places email attachments (i.e., "proof of delivery" photos) into a network drive folder.
However, instead of dumping all the photos into a single folder...
In summary, here's a step-by-step of how I'd like the Flow to operate:
The reason I need to do a recursive search on the folders & subfolders on the drive is because the Project folders are nested within the corresponding company's folder. (e.g., "\\<Server>\<Share>\<CompanyName>\<Project #> <Project Name>\3-Installation Documents\Proof of Delivery\<PhotoName>.jpg").
For example, here's where the photos would be placed if the user specified the "63466" Project # in the Subject line :
Under File System, I see a "List files in folder" action...
...but no Find Files in Folder (which I think is more along the lines of what I need) like OneDrive has:
Seemingly without a built-in function to recursively search for a specific folder name, I'm afraid I'll have to use the List files in folder operation one-by-one on each company folder (assuming List files in folder also lists folder names, and not just file names) until I find the folder that starts with the Project # the user specified in the Subject line.
If assisting with my entire flow is too much to ask for a single post, this post is primarily for asking assistance with recursively searching for a folder name on a network drive that starts with the text in an email's Subject line (and putting Email attachments into its "\3-Installation Documents\Proof of Delivery" subdirectory).
Thank you in advance for any help
User | Count |
---|---|
98 | |
40 | |
27 | |
23 | |
16 |
User | Count |
---|---|
130 | |
51 | |
48 | |
36 | |
24 |