Assemble Ungrouped Job
Posted: Tue Jul 26, 2011 10:09 pm
Hello,
I am having a hell of a time getting this. I would like to assemble an Ungrouped job with the original total files in the job folder plus one additional file. For example, if a folder was ungrouped and it contained 10 files, I need it to be assembled with 11 files. I am trying to use a "Script expression" instead of "Automatic" for "Number of Files" for the properties in the assemble element.
I've looked in the guide under the Ungroup Element and it says .NumFiles is the The total number of files injected in the flow for this parent job. The key is Ungroup, so I've been using Ungroup.NumFiles for the total number of files and I don't think I'm even doing this correctly.
What I need is the total original files in the job folder +1. Is this possible?
Any help would be greatly appreciated.
Thank you,
Danny
I am having a hell of a time getting this. I would like to assemble an Ungrouped job with the original total files in the job folder plus one additional file. For example, if a folder was ungrouped and it contained 10 files, I need it to be assembled with 11 files. I am trying to use a "Script expression" instead of "Automatic" for "Number of Files" for the properties in the assemble element.
I've looked in the guide under the Ungroup Element and it says .NumFiles is the The total number of files injected in the flow for this parent job. The key is Ungroup, so I've been using Ungroup.NumFiles for the total number of files and I don't think I'm even doing this correctly.
What I need is the total original files in the job folder +1. Is this possible?
Any help would be greatly appreciated.
Thank you,
Danny