Defining a workflow to process MarcomCentral job tickets

To process job tickets retrieved from a store at the MarcomCentral website, copy the MarcomProcessJobTicket workflow supplied with the MarcomCentral Connect feature. The CallSOAPService step (inside the MarcomDownloadPrintFile step chain) calls the Job Ticket MarcomCentral web service and retrieves job tickets by order number. Modify that step and others in the workflow by setting their properties to values that work with your MarcomCentral store and RICOH ProcessDirector workflows.

The workflow that processes MarcomCentral job tickets receives child jobs from the CreateOrdersFromFile step in the workflow that processes MarcomCentral orders.

Before you define the workflow:

  • Plan how to process the orders, including how to map XML elements in the orders to RICOH ProcessDirector order and job properties using an order property mapping object.
  • Prepare to call MarcomCentral web services.
  • Define a SOAP web service input device.
  • Define the workflow that processes MarcomCentral orders.

For more information, see the related tasks.

To define a workflow to process MarcomCentral job tickets:
  1. Click the Workflow tab.
  2. Right-click the MarcomProcessJobTicket workflow and select Copy.
  3. Name the copy of the workflow, fill in or edit other values that you need, and click Continue.
  4. Check the conditions specified for the (1) Warehouse connector and adjust as required for your MarcomCentral store.

    The three conditions on the connector in the sample MarcomProcessJobTicket workflow specify MarcomCentral product types JobDirect, Variable, and Versioned. Jobs with those product types do not go through the 1 Warehouse connector. Instead, those jobs go through the (2) Print shop connector.

  5. Open the MarcomDownloadPrintFile step chain.
  6. In the step chain editor, find the Wait step and set the Wait for property to a value that makes jobs wait until your MarcomCentral store provides the link to the file to download.

    The (2) Check for file connector and Wait for property together specify how long a job waits for your MarcomCentral store to provide the link to the file. If the store does not provide the link within the specified time, the job goes to the FailWithMessage step. The Wait for property specifies a wait of 30 seconds, and the rule on the (2) Check for file connector specifies that the job goes through the branch 9 times. The elapsed time before the job goes to the FailWithMessage step is 5 minutes. If you set the Wait for property to 1 minute, the elapsed time is 10 minutes. If you then set the rule on the connector to Custom count 1 < 20, the elapsed time is 20 minutes.

  7. For the CallSOAPService step:
    1. Set the Use proxy property to the proxy server (if any) that you use to communicate with the web service.
    2. Set the Password property to your MarcomCentral order token.
    3. Set the SOAP request property to the GetJobTicketByLineItem SOAP request that you imported.
    4. If you prepended MyStore to the names of the SOAP requests when you imported them, set the property to MyStore-GetJobTicketByLineItem.
  8. Update the ApplyXSLTransform2 step, if needed.

    In the ApplyXSLTransform2 step, the XSLT file property is set to use the downloadOverrides.xslt file provided with the feature. This file retrieves the URL of the print file and copies the URL into the Custom 3 job property. The DownloadFile step uses that value to retrieve the print file.

    You can use the downloadOverrides.xslt file as it is. If you want to retrieve additional information from MarcomCentral, create a new XSLT file and update this property.

  9. For the DownloadFile step, set the Use proxy property to the proxy server (if any) that you use to communicate with the web service.
  10. Close the step chain editor.
  11. For the RetainCompletedJobs step, set the Retention period property to an appropriate value for your site.
  12. In the Printable branch, modify the four steps in the Print phase or replace them with your steps for processing and printing PDF jobs.
  13. Modify the Warehouse branch:
    • If your workflows process only print items, delete the branch.
    • If your workflows process both print and non-print items, you can keep the ManualStepWithAutoStart step or replace it with other steps.
      • If the warehouse staff has access to RICOH ProcessDirector, they can complete the ManualStepWithAutoStart step when they add a non-print item to the order.
      • If the warehouse staff does not have access to RICOH ProcessDirector, you can use other steps to communicate with them.

        For example, you can add a SendEmail step that sends an email message to the warehouse staff when the non-print item enters the Warehouse branch. If your business uses an application with a web service interface to handle pick and pack operations, you can add a CallSOAPService step to the Warehouse branch. The step sends the data in the job to the application.

  14. Save the workflow.
  15. Connect the workflow to the workflow that you defined to process MarcomCentral orders:
    1. In the workflow editor, open the workflow that you defined to process MarcomCentral orders.
    2. For the CreateOrdersFromFile step, set the Workflow for new jobs property to the name of the job ticket workflow.
Now you are ready to add the information required to process the items in an order to your job ticket workflow.