Defining a workflow to process MarcomCentral job tickets

To process job tickets retrieved from a store at the MarcomCentral web site, copy the MarcomProcessJobTicket workflow supplied with the MarcomCentral Connect feature. The CallSOAPService step 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 CreateJobsFromXML 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 job properties using an XSLT style sheet.
  • 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. In the Workflow Objects portlet, click the Workflow tab.
  3. Right-click the MarcomProcessJobTicket workflow and select Copy.
  4. Name the copy of the workflow, fill in or edit other values that you need, and click Ok.
  5. Name the copy of the workflow, fill in or edit other values that you need, and click Continue.
  6. In the Workflow Editor portlet, set the XSLT file property for the ApplyXSLTransform step to the directory path and name of the jobticketToOverrides.xslt file that you created.

    • This file was created in the procedure for planning how to process orders from your MarcomCentral store.
  7. In the workflow editor, set the XSLT file property for the ApplyXSLTransform step to the directory path and name of the jobticketToOverrides.xslt file that you created.

    • This file was created in the procedure for planning how to process orders from your MarcomCentral store.
  8. 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.

  9. 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.

  10. For the Wait step, 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.

  11. For the Wait step, 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.

  12. 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.
  13. For the ApplyXSLTransform2 step in the Prepare phase, set the XSLT file property to the directory path and name of the downloadOverrides.xslt file that you copied into your new directory.

    • This file was created in the procedure for planning how to process orders from your MarcomCentral store.
  14. For the DownloadFile step, set the Use proxy property to the proxy server (if any) that you use to communicate with the web service.
  15. For the RetainCompletedJobs step, set the Retention period property to an appropriate value for your site.
  16. In the Print shop branch, modify the four steps in the Print phase or replace them with your steps for processing and printing PDF jobs.
  17. 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.
  18. Save the workflow.
  19. Connect the workflow to the workflow that you defined to process MarcomCentral orders:
    1. In the Workflow Objects portlet, open the workflow that you defined to process MarcomCentral orders.
    2. In the workflow editor, open the workflow that you defined to process MarcomCentral orders.
    3. For the CreateJobsFromXML 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.
 
Copyright © 2016, 2018