Workflow to split jobs by document property
Instead of splitting an AFP job into several jobs using job size as the criterion,
you might want to use the value of a document property, such as country or sales region.
In this scenario, you use a step based on the GroupDocuments step template instead of on the SplitDocuments step template. Each group of documents becomes a separate child job.
You can use a step based on the GroupDocuments step template to gather all the documents of one group into a single child job. You can use up to six grouping criteria to create child jobs. Each child job contains only the members of a group, such as all statements for each of five cities in each of 10 countries.
These tables summarize the recommended workflow configuration using CreateJobsFromDocuments, and an alternate workflow configuration using CreateAFPJobsFromDocuments.
- Note:
- If you have customized phase names in your system, the phase names in the tables might not match the names in your system.
Splitting jobs by document property, using CreateJobsFromDocuments
| Parent/child | Phase | Step |
|---|---|---|
| Parent | Receive | SetJobPropsFromTextFile
In the Input data stream field, select AFP. |
| Prepare | UseInlineFormDefinition | |
| IndexAFP | ||
| EnableRepositioning | ||
| IdentifyDocuments | ||
| Assemble | GroupDocuments | |
| CreateJobsFromDocuments | ||
| Complete | RetainCompletedJobs | |
| RemoveJobs | ||
| Child | Receive | SetJobPropsFromTextFile |
| SetJobPropsFromOriginal | ||
| Assemble | BuildAFPFromDocuments | |
| EnableRepositioning | ||
| CreatePageRanges | ||
| PrintJobs | ||
| Complete | RetainCompletedJobs | |
| RemoveJobs |
Splitting jobs by document property, using CreateAFPJobsFromDocuments
| Parent/child | Phase | Step |
|---|---|---|
| Parent | Receive | SetJobPropsFromTextFile |
| Prepare | UseInlineFormDefinition | |
| IndexAFP | ||
| IdentifyDocuments | ||
| Assemble | GroupDocuments | |
| CreateAFPJobsFromDocuments | ||
| Complete | RetainCompletedJobs | |
| RemoveJobs | ||
| Child | Receive | SetJobPropsFromTextFile |
| SetJobPropsFromOriginal | ||
| EnableRepositioning | ||
| CreatePageRanges | ||
| PrintJobs | ||
| Complete | RetainCompletedJobs | |
| RemoveJobs |