cancel
Showing results for 
Search instead for 
Did you mean: 
md106
Frequent Member
Frequent Member

Is there a way to use file naming to create job groups?

Jump to solution

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:

JOB#_PageCount(perPDF)_Sequence#_TemplateName_Color/BWPrinting_CostCenter_Envelopeused_TimeStamp.

The cost center and the page count per PDF would be the parameters used to create the Job Groups.

0 Kudos
12 Replies
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Is there a way to use file naming to create job groups?

Jump 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.

p1.pngp2.pngp3.pngp4.png

0 Kudos
md106
Frequent Member
Frequent Member

Re: Is there a way to use file naming to create job groups?

Jump to solution

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.

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Is there a way to use file naming to create job groups?

Jump to solution

The instructions are in Help -- see below.

p1.png

0 Kudos
md106
Frequent Member
Frequent Member

Re: Is there a way to use file naming to create job groups?

Jump to solution

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.

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Is there a way to use file naming to create job groups?

Jump to solution

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. 

0 Kudos
md106
Frequent Member
Frequent Member

Re: Is there a way to use file naming to create job groups?

Jump to solution

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.

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Is there a way to use file naming to create job groups?

Jump to solution

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.

0 Kudos
md106
Frequent Member
Frequent Member

Re: Is there a way to use file naming to create job groups?

Jump to solution

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.

0 Kudos
DavidU54339-XRX
FreeFlow Production Workflow Moderator
FreeFlow Production Workflow Moderator

Re: Is there a way to use file naming to create job groups?

Jump to solution

The below worked for me.

p1.png

0 Kudos