Help with my first flow
Posted: Mon Feb 02, 2015 11:28 am
Hi all,
I am very new to switch and have been trying to get a flow working urgently for a project but I am unable to come up with a solution.
I have multiple users adding pdf's to an FTP site, each only have access to their own user folders. They each have multiple job folders. The structure is below:
====================
Active
- User1
- - Job001
- - - 001-of-002.pdf
- - - 002-of-002.pdf
- - Job002
- - - 001-of-004.pdf
- - - 002-of-004.pdf
- - - 003-of-004.pdf
- - - 004-of-004.pdf
- User2
- - Job001
- - - 001-of-003.pdf
- - - 002-of-003.pdf
- - - 003-of-003.pdf
Processed
====================
I need the flow to merge all files within each job folder when they are all present. Then output using the same structure into the processed folder as single pdf's.
I can get the pdf's and retain the structure, set the hierarchy but it fails when I try to assemble the job. I need to get it to read that the last 3 digits = total number of files. Then when that number of files are present, process.
I hope I explained that well enough. Any questions please ask.
Any help really will be gratefully received!
Many thanks
Ben
I am very new to switch and have been trying to get a flow working urgently for a project but I am unable to come up with a solution.
I have multiple users adding pdf's to an FTP site, each only have access to their own user folders. They each have multiple job folders. The structure is below:
====================
Active
- User1
- - Job001
- - - 001-of-002.pdf
- - - 002-of-002.pdf
- - Job002
- - - 001-of-004.pdf
- - - 002-of-004.pdf
- - - 003-of-004.pdf
- - - 004-of-004.pdf
- User2
- - Job001
- - - 001-of-003.pdf
- - - 002-of-003.pdf
- - - 003-of-003.pdf
Processed
====================
I need the flow to merge all files within each job folder when they are all present. Then output using the same structure into the processed folder as single pdf's.
I can get the pdf's and retain the structure, set the hierarchy but it fails when I try to assemble the job. I need to get it to read that the last 3 digits = total number of files. Then when that number of files are present, process.
I hope I explained that well enough. Any questions please ask.
Any help really will be gratefully received!
Many thanks
Ben