Help with my first flow

Post Reply
JuiceC
Newbie
Posts: 1
Joined: Mon Feb 02, 2015 11:18 am

Help with my first flow

Post by JuiceC »

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
User avatar
andrea mahoney
Newbie
Posts: 19
Joined: Tue Jan 25, 2011 8:53 pm

Help with my first flow

Post by andrea mahoney »

Hi,



The trick to the Assembler when using the Scheme "Numbers in filename" to make sure there are no other numbers in your file name (like a docket number). It may not like the leading zeros in your file name either. You should run the files through a rename element first to strip out the zeros or other docket numbers.



When you have files named 1 of 4, 2 of 4, 3 of 4 and 4 of 4, this should work



Number index for total and serial should be set to Automatic.


Post Reply