Creating a workflow to store PDF jobs and documents in a repository
To store jobs and documents in a repository, you must create a workflow that includes
a step based on the StoreInRepository step template. You can also add StoreInRepository steps to your existing workflows. If you want the repository to hold documents and
document data, make sure to add the necessary document processing steps if they are
not already present.
- Click the Workflow tab.
- Right-click the RepositorySample workflow and select Copy.
- Name the copy of the workflow, fill in or edit other values that you need, and click Continue.
- Right-click the IdentifyPDFDocuments step. Select Properties, and then click PDF. For the Identify PDF control file property, type the path and file name of the control file that contains your document property definitions. Click OK.
- Right-click the BuildPDFFromDocuments step. Select Properties, and then click PDF. For the Build PDF control file 1 property, type the path and file name of the control file that contains your document property definitions. Click OK.
- Optional: Right-click the RetainCompletedJobs step. Select Properties, and then click Job Defaults - General. Update the value of the Retention period property. Click OK.
- Right-click the StoreInRepository step, select Properties, and then click Repository:
- For the Repository property, select the repository that you want to store jobs and documents in.
- From the Available job properties to store list, select the job properties that you want to use to search for jobs and documents in the repository.
- From the Available document properties to store list, select the document properties that you want to use to search for documents in the repository.
- If you want to preserve the values of job properties for use when the job or its
documents are resubmitted to a workflow:
- Use a text editor to create an override properties file.
- Place the database name of each job property on a separate line.
- To add a comment, place it on a separate line that starts with a pound sign (#).
This example shows a file with three job properties (Customer name, Media required, and Duplex) and a comment:
Job.CustomerNameJob.MediaRequired# This is a comment.Job.Duplex
- Name the file, save it, and move it to a directory on the RICOH ProcessDirector primary computer. For example:
/aiw/aiw1/control_files/job_properties.txt
(Linux)C:\aiw\aiw1\control_files\job_properties.txt
(Windows)
- On the StoreInRepository step, enter the path and name of the file in the Path to override properties file property.
- If you are using an associated properties file, enter the path and name of the file in the Associated properties file property.
- If you want to store document data that is contained in a file but is not defined as a document property to RICOH ProcessDirector, enter the full path and name or the symbolic name of the file in the Document properties file property and make sure to select ALL in the Document properties to store list.
- Click OK.
- Note:
- Make sure that the StoreInRepository step is in the correct place in the workflow. Storing a file after steps that change the order of pages, such as ReversePDFPageOrder, affects your ability to search using document properties in the viewer.
- Optional: If you want to store job files in the repository more than once, include additional StoreInRepository steps in the workflow.
- Save and enable the workflow.
- To test the workflow:
- Create one or more input devices to point to the workflow.
- Enable the input devices.
- Submit your PDF print job to the input device.
- When the job finishes, look in the Archive to make sure that the right information was stored.
- Note:
- If a job is processed again and runs the StoreInRepository step more than once, two copies of the document or job are stored in the repository.