Re-Assembling a job with added hierarchy info

Post Reply
jstotz
Newbie
Posts: 11
Joined: Thu Jan 22, 2015 7:47 pm

Re-Assembling a job with added hierarchy info

Post by jstotz »

My flow recieves a zip file with multiple individual pdf files at the top level. I am unzipping and then sending each file to a folder based on its page count. (1-10, 11-20, 21-30 etc.) After those folders, I have a set hierarchy path element to add something like "/1-10pgs". I then need to reassemble all those files into the same group that they came out of with the addition of those folders.
For example:
main folder
file1
file2
file3

becomes:
main folder
/1-10pgs
file2
/11-20pgs
file1
file3

Assemble job doesn't honor the subfolders. It puts everything back loose. Archive hierarchy does work but I'm not at the end of the flow yet. I still need to do other things like sorting, renaming, and pitstop actions on both the files and the folders.
How do I build a new folder structure within a flow?
Post Reply