Assemble Job

Post Reply
Mark Casey
Newbie
Posts: 11
Joined: Thu Sep 26, 2019 1:47 pm
Location: Leeds, UK

Assemble Job

Post by Mark Casey »

Hi All

This no doubt rather simple but I just can not get my head round this

I have a folder where jobs are arriving, file name examples below:

104774-Newsletter-Sheet-1.pdf
105323-Leaflets-Sheet-1.pdf
107929-Programme-Sheet-1.pdf
107929-Programme-Sheet-2.pdf

I need to Assemble the 4 files into 3 Folders, ie the Jobs with the same Job Number are matched and put together, jobs with just one file to be kept on their own

Any advice please would be appreciated :roll:

Thanks
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Assemble Job

Post by Terkelsen »

You could use a variable like this [Job.NameProper:Search="(.*)\-"] to assemble jobs with same name before the last dash. The problem, however, is how to know how many files to assemble. If jobs belonging together are coming in more or less at the same time, you could use "After N minutes".
Mark Casey
Newbie
Posts: 11
Joined: Thu Sep 26, 2019 1:47 pm
Location: Leeds, UK

Re: Assemble Job

Post by Mark Casey »

Thanks

There would only ever be a maximum of 2 files for each Job number, probably about 50/50 some will be 1 the others will be 2
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Re: Assemble Job

Post by Terkelsen »

OK. Then you can just set the number of files to be assembled to 2 and the the "After N minutes" also to 2. This way those with two pages will be assembled as soon as there are two pages with the same name before the last dash and those with only one page will be sent through after two minutes because the condition of two pages is not fulfilled within the time limit.
Post Reply