Defining a workflow to process MarcomCentral job tickets
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.
- Click the Workflow tab.
- Right-click the MarcomProcessJobTicket workflow and select Copy.
- Name the copy of the workflow, fill in or edit other values that you need, and click Continue.
- 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.- Note:
- This file was created in the procedure for planning how to process orders from your MarcomCentral store.
- 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.
- 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.
- For the CallSOAPService step:
- Set the Use proxy property to the proxy server (if any) that you use to communicate with the web service.
- Set the Password property to your MarcomCentral order token.
- Set the SOAP request property to the GetJobTicketByLineItem SOAP request that you imported.
- If you prepended MyStore to the names of the SOAP requests when you imported them, set the property to MyStore-GetJobTicketByLineItem.
- 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.- Note:
- This file was created in the procedure for planning how to process orders from your MarcomCentral store.
- For the DownloadFile step, set the Use proxy property to the proxy server (if any) that you use to communicate with the web service.
- For the RetainCompletedJobs step, set the Retention period property to an appropriate value for your site.
- 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.
- 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.
- Save the workflow.
- Connect the workflow to the workflow that you defined to process MarcomCentral orders:
- In the workflow editor, open the workflow that you defined to process MarcomCentral orders.
- For the CreateJobsFromXML step, set the Workflow for new jobs property to the name of the job ticket workflow.