Assemble job getting Job.FileCount wrong

Post Reply
jstotz
Newbie
Posts: 10
Joined: Thu Jan 22, 2015 7:47 pm

Assemble job getting Job.FileCount wrong

Post by jstotz »

I'm assembling a job that had previously been ungrouped. I have it set up to include the number of files in the resulting job name but it keeps putting in 1 instead of the actual number. The scheme is "ungrouped job", the private data key is "Ungroup", and the number of files is automatic. It includes the correct files. The job folder name is set to "[Switch.Date:Format="yyyy-MM-dd",TimeZone="System"]_[Job.FileCount]". The date part works correctly but the Job.FileCount is always 1.
jstotz
Newbie
Posts: 10
Joined: Thu Jan 22, 2015 7:47 pm

Re: Assemble job getting Job.FileCount wrong

Post by jstotz »

I was able to do what I needed by using the Metatagger app.
laurentd
Member
Posts: 142
Joined: Wed Mar 13, 2019 2:06 pm

Re: Assemble job getting Job.FileCount wrong

Post by laurentd »

Have a look at the Ungroup job documentation, page 2
https://www.enfocus.com/en/appstore/product/ungroup-job

You can see that 5 private data keys are added to each file.
"Ungroup" is just the root key.
What you need is Ungroup.NumFiles
Laurent De Wilde, Solution Architect @ Enfocus
Post Reply