Sorting Jobs files based on Folder hierarchy

Post Reply
alkea
Newbie
Posts: 1
Joined: Mon Jun 27, 2016 6:39 pm

Sorting Jobs files based on Folder hierarchy

Post by alkea »

Hi Guys,

I'm looking to route files based on folder hierarchy from the original submitted jobs, for example my normal folder structure in a submitted job folder is:

Parent Folder
Customer files (subfolder level 1)
Output (subfolder Level 1) / Print (subfolder level 2)
Preview (subfolder Level 1)

I want to route the jobs in customer files to Folder 1, Output and its subfolders to Folder 2, and Preview to Folder 3.
I have tried to use the hierarchy info to achieve this using Conditions defined with Variables. However I continue to get all subfolders to all three folders. I have used " [job.hierarchy:Search="Output"], & [job.hierarchy:Segment= Output], & [job.hierarchy:Segment=0-6] with it equal to Output

Any ideas on if this is possible and using the hierarchy or will I need to disassemble the job and sort each folder layer as I work my way down?
freddyp
Advanced member
Posts: 1023
Joined: Thu Feb 09, 2012 3:53 pm

Re: Sorting Jobs files based on Folder hierarchy

Post by freddyp »

Indeed, you have to use "Job dismantler", but only up to the first level if you want to route the folders or to a higher level (99) if you want to route the individual files as jobs. "Job dismantler" lets you attach the hierarchy information as well if you need it for further routing.
Post Reply