process some jobs, wait for user input to inject the others

Post Reply
w3gmbh
Newbie
Posts: 12
Joined: Mon Dec 16, 2013 4:14 pm

process some jobs, wait for user input to inject the others

Post by w3gmbh »

Hi,

I'm trying to create a workflow for this scenario:

All jobs are flat single file jobs in one incoming queue. Each job has 3 pdf files:



- order sheet PDF

- box (the packaging) PDF

- content (the product itself) PDF



Naming is strict as follows:



AAA_BBBB_CCC_DDDDDDDDDD_E_F.pdf

AAA: product-type (box, content_a, content_b, order-sheet)

BBBB: product variant (used to determine the printing process)

CCC: ascending number for order

DDDDDDDD: barcode -ordernumber (printed on the box itself)

E: reserved

F: reserved



the products should be routed through different output channels according to their variant-type (BBBB). Therefore I currently use a static pattern based output scheme. A lookup table or simply a script-hint that sets the according output queue for Fiery would be great.



Product types order-sheet and box should be immediately processed, the others should wait for the box.



My idea is to use Switch Client to generate a dummy-job. The operator should scan the barcode (DDDDDDDDDDD, in every filename) and inject the corresponding job for processing. So the content of each box is produced after scanning its box.



Attached the Workflow idea here.



Any help welcome!



regards,

Ralf Gebhard



freddyp
Advanced member
Posts: 1009
Joined: Thu Feb 09, 2012 3:53 pm

process some jobs, wait for user input to inject the others

Post by freddyp »

"Inject job" does not allow wildcards and it can only inject 1 job.



What this means for you: when DDDDDDDD is the input for injecting a job you will have to use a script expression to get the right file, but bear in mind that the script expression can only return 1 path. So, when it is possible that multiple files have to be injected you need a script.



Freddy
dkelly
TOP CONTRIBUTOR
Posts: 658
Joined: Mon Nov 29, 2010 8:45 pm
Location: Alpharetta GA USA
Contact:

process some jobs, wait for user input to inject the others

Post by dkelly »

Take a look at my script "Inject file". It can be easily extended to inject multiple files.



http://www.crossroads-world.com/en/home ... tic%20file
Post Reply