Running the sample workflow for suppressing PDF documents
The sample objects and files used in this workflow include:
- Workflow: PullPDFSample
- Sample file: Pull.pdf
- /aiw/aiw1/testfiles/Pull.pdf (Linux and AIX)
- C:\aiw\aiw1\testfiles\Pull.pdf (Windows)
- Sample pull list file: pulllist.txt
- /aiw/aiw1/testfiles/pull/pulllist.txt (Linux and AIX)
- C:\aiw\aiw1\testfiles\pull\pulllist.txt (Windows)
- Sample property conditions file: pullsample.csv
- /aiw/aiw1/control_files/pull/pullsample.csv (Linux and AIX)
- C:\aiw\aiw1\control_files\pull\pullsample.csv (Windows)
- Identify documents control file: PullPDF.ctl
- /aiw/aiw1/testfiles/PullPDF.ctl (Linux and AIX)
- C:\aiw\aiw1\testfiles\PullPDF.ctl (Windows)
- Note:
- The PullPDFSample sample workflow is installed with the PDF Document Support feature.
This sample workflow includes a Wait step and a SetDocPropsFromList step. The Wait step pauses the job for 60 seconds for demonstration purposes to show how the workflow can be paused until the pull list file has been placed in the correct location. In a production environment, the Wait step can be set to pause the job for a set period of time or until a specific time of day. The SetDocPropsFromList step uses the information from the sample pull list file to make sure the job is properly split to suppress the printing of the correct documents.
The GroupDocuments step identifies the group of documents to be pulled and the group to be printed based on the Pull document property. Based on that grouping, the CreateJobsFromDocuments step generates child jobs. The child jobs are resubmitted to the original workflow and follow the child job branch out of the SetJobPropsfromTextFile step. The child jobs move through their respective print and suppression branches until processing is finished and all of the jobs, the parent job and both child jobs, are completed.
To run the sample workflow:
- Click the Administration tab.
- Click .
- On the Input Devices page, right-click the HotFolderPDF hot folder input device and select Copy.
- On the General tab of the Copy Hot Folder Input Device page, fill in or edit the values for these properties as indicated:
- Enter an Input device name.
- Enter an Input device description. This is optional, but recommended.
- In the Child workflow property, choose PullPDFSample.
- In the Folder location property, enter /aiw/aiw1/System/hf/testPullPDF
- In the Staging location property, enter /aiw/aiw1/System/hf/testPullPDF/Staged
- Click OK.
- Click the Main tab.
- In the Input Devices portlet, right-click the new hot folder you created and select Enable and Connect.
- In the Printers portlet, right-click the Sample printer and select Enable.
- Navigate to
/aiw/aiw1/testfiles
(AIX and Linux) orC:\aiw\aiw1\testfiles
(Windows) and copyPull.pdf
into/aiw/aiw1/System/hf/testPullPDF
(AIX and Linux) orC:\aiw\aiw1\System\hf\testPullPDF
(Windows).The job shows up in the Jobs table. - When the job reaches the Wait step, it pauses for 60 seconds. The job goes into the Waiting state, but you can choose the Go to next step action if you want to speed up processing. Choose the Go to next step action only while the job is in the Waiting state.
- The parent job waits in the WaitForRelatedJobs step until both child jobs are complete and then finishes. The child job in the Pull
path has a ManualStepWithAutoStart step, which you must manually advance. Right-click the job in the Jobs table and select Go to Next Step. Processing then continues until the parent and child jobs are Complete.You can see the parent job and the two child jobs in the Jobs table. You can right-click the separate child jobs and select View to see the documents produced by each child job. If you right-click the parent job, you can select View and see all of the documents, both printed and suppressed.