Page 1 of 1

Assemble job getting Job.FileCount wrong

Posted: Wed Jan 24, 2024 7:13 pm
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.

Re: Assemble job getting Job.FileCount wrong

Posted: Wed Jan 24, 2024 11:28 pm
by jstotz
I was able to do what I needed by using the Metatagger app.

Re: Assemble job getting Job.FileCount wrong

Posted: Thu Jan 25, 2024 12:21 pm
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