Setting up step templates for external steps that use hot folders

Use this process to set up a step template for external steps that use hot folders to pass input and output between Ricoh ProcessDirector and the external program.
To set up a step template for an external step:
  1. Click the Workflow tab.
  2. In the Workflow Objects portlet, click the Step templates tab.
  3. In the left pane, click Step templates.
  4. Right-click the RunHotFolderApplication step template and select Copy.
  5. Specify a name and description for the new step template.
  6. Click Job Defaults.
  7. Click Hot Folder.
  8. Update the Sending folder property.
    The value of this property is the name of the input hot folder for the external program. Ricoh ProcessDirector places the job in this folder to submit it to the external program.

    • The value must be the name of a folder that exists. Ricoh ProcessDirector does not create the folder.
    • The folder must be accessible to both Ricoh ProcessDirector and the external program. It can be:
      • In the Ricoh ProcessDirector shared file system, /aiw/aiw1/, on the computer that has the primary server installed.
      • In a file system that is shared using file sharing software, such as Samba.
    • Even if the folder is on a Windows system, specify the path using AIX or Linux format. For example, if the folder is C:\Sending, type /Sending.
    • If this value is null, no file is copied and the step waits.
  9. Update the File to send property.
    The value of this property is a symbol formula that resolves to the name of the file that Ricoh ProcessDirector sends to the external program.

    • The default value is getAbsoluteFileName(print, pdf, read), which returns the name of the PDF print file in the spool directory. If the PDF print file does not exist in the spool directory when the external program runs, an error occurs.
  10. Update the Retrieval folder property.
    The value of this property is the name of the output hot folder for the external program. Ricoh ProcessDirector retrieves the job from this folder after the external program has processed it.

    • The value must be the name of a folder that already exists. Ricoh ProcessDirector does not create the folder.
    • The folder must be accessible to both Ricoh ProcessDirector and the external program. It can be:
      • In the Ricoh ProcessDirector shared file system, /aiw/aiw1/, on the computer that has the primary server installed.
      • In a file system that is shared using file sharing software, such as Samba.
    • Even if the folder is on a Windows system, specify the path using AIX or Linux format. For example, if the folder is C:\Retrieval, type /Retrieval.
    • When you set the Clean up retrieval folder property to No, the file that the step retrieves can be in the retrieval folder when a job arrives at the step. The step retrieves the file and puts the file specified by the File to send property in the sending folder. The step then sends the job and the retrieved file to the next step in the workflow. The step does not wait for a new file to be placed in the retrieval folder.
  11. Update the Retrieval pattern property.

    The value of this property is the pattern-matching string that Ricoh ProcessDirector uses to identify the output files to retrieve from the output hot folder of an external program.

    For example, the value ${Job.ID}.* matches any file whose file name is the same as the job ID, with any file extension.

  12. Update the Retrieved file property.
    The value of this property is a symbol formula that resolves to the name that Ricoh ProcessDirector uses to rename the retrieved file.
  13. Update the Clean up retrieval folder property.

    When a job enters the step, this value tells Ricoh ProcessDirector whether to remove any file in the retrieval folder whose file name matches the Retrieval pattern.

  14. Update the Application log file property.
    The value of this property is the folder where the external program writes log files. This value can be blank.
  15. Update the Poll interval property.
    The value of this property is the interval in seconds at which Ricoh ProcessDirector checks the output hot folder for completed jobs.
  16. Update the File size verification count property.
    The value of this property is the number of times that Ricoh ProcessDirector polls the output hot folder and finds a file that has not changed in size. Ricoh ProcessDirector then decides that the file is complete.
  17. Update the Timeout interval property.
    The value of this property is the time limit in minutes for retrieving a job from the output hot folder of an external program. If the job has not been received or is not complete when the time limit is reached, the job is in error.

    • Make the timeout interval longer than the poll interval times the file verification count.
    • If the timeout interval is 0, Ricoh ProcessDirector waits forever.
  18. Click OK.
  19. Update any settings on the Tuning tab to run the step on the computers where the external program is installed.
  20. Select the new step template and click Enable.
 
Copyright © 2006, 2018