Running the sample workflow for managing output preferences

The PreferencesSample workflow for applying processing preferences to jobs illustrates how to use a preferences file to control multichannel delivery. The PreferencesSample workflow creates three child jobs each of which processes documents differently based on the value of the Output type property.
The sample objects and files used in this workflow include:
  • Workflow: PreferencesSample
  • Sample input device: PreferencesFolder
  • Sample property mapping object: DelimitedSample
  • Sample PDF file: DemoPref.pdf
    • /aiw/aiw1/testfiles/DemoPref.pdf (Linux and AIX)
    • C:\aiw\aiw1\testfiles\DemoPref.pdf (Windows)
  • Sample PDF control file: DemoPref.ctl
    • /aiw/aiw1/testfiles/DemoPref.ctl (Linux and AIX)
    • C:\aiw\aiw1\testfiles\DemoPref.ctl (Windows)
  • Sample preferences file: preferences.csv
    • /aiw/aiw1/testfiles/pref/preferences.csv (Linux and AIX)
    • C:\aiw\aiw1\testfiles\pref\preferences.csv (Windows)
This sample workflow includes an ApplyPreferences step. The ApplyPreferences step uses the DelimitedSample property mapping object to map values from the preferences file to values in the document properties file. These values are then used to determine which output method is used for each document. One of the properties set by the ApplyPreferences step is the Output type property for each document.

The GroupDocuments step organizes the documents based on the Output type property. Based on the groupings identified, 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, email, 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:

  1. Click the Main tab.
  2. In the Printers portlet, right-click the Sample printer and select Enable.
  3. In the Input Devices portlet, right-click the PreferencesFolder hot folder input device and select Enable and Connect.
  4. The parent job waits in the WaitForRelatedJobs step until all the child jobs reach the same step and then finishes.
    The child jobs for Print and Suppress also process as far as the WaitForRelatedJobs step. The Email child job stops at the CheckEmailSettings step, and goes into the Manual, working state. If you configured RICOH ProcessDirector to send email using an SMTP server, use the Manual complete action to move the child job to the next step.
    If you have not configured RICOH ProcessDirector to send email, you can delete the child job from the Jobs table and let the rest of the job complete.
    You can see the parent job and the child jobs in the Jobs table. You can select the separate child jobs and click View to see the documents produced by each child job.