I am trying to create a workflow that will collect files into a group depending on certain file naming characteristics, the print that job group along with a cover sheet with specific information about the group, such as page count per PDF, total documents in group, and a snippet of the file name. Is there a way to do this with FreeFlow Core?
We have Prepress, Automation and Output modules.
The file naming is consistent and uses the following syntax:
The cost center and the page count per PDF would be the parameters used to create the Job Groups.
Solved! Go to Solution.
I am able to get close to what you are looking for with the below Workflow. The Route node is used to send jobs containing "atl" to the upper branch. The Join nodes merge the jobs into a job group. The Insert node is used to add a cover page. The Watermark node is used to take a snippet from the job name (note one can use substringing, ltrim or rtrim to get the text desired). Note, I get the total number of jobs in the submitted job group -- not the number of jobs that went the branch. Also the page number is the total number of pages in the job group -- not the number per job/PDF.
That's an excellent start! I wasn't aware that you could substring with the job name variable. Could you give me a screen shot of that so I can understand the syntax? I will be able to use that multiple times to get the information needed into the watermark.
I tried this solution, and it is not working. There was no way for me to join jobs to a group, so I tried using a collect node, but that would get held up during the collection, and if I hit resume the job fails.
Are you using a newer version of FFC? Has the "Join" node changed?
I would think using a collect node would work to collect and then release jobs as a group, but it didn't.
Join has not changed.
My proposed solution was based on submitting all the documents as a job group. Based on different job characteristics via Route, the subjobs would be separated gping down different branches. The subjobs going down a branch can be made into another job/subjob using Join.
Am I correct that Process Variable can't be used in the output filename? I tried using .ltrim and .substring in the Job Group Name and the Output File Name, and neither worked.
Both $FFwfJob.groupName.substring(0,4)$ and $FFwfJob.groupName.ltrim(t)$ work for me in the Watermark node. I get the text I expect.
Note, the "jobGroupName" variable is set at submission time. It may not agree with the JobName posted on the GUI which uses a different variable.
I am not aware of a OutputFileName variable.
I'm referring to the output file name in the Save node, or the new Job Group name in the Collect node. I was trying to use .substring functions there and it failed.