Defining a workflow to process MarcomCentral orders
To process orders retrieved from a store at the MarcomCentral web site, copy the MarcomProcessOrders 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 the step properties to values that work
with your MarcomCentral store and RICOH ProcessDirector workflows.
The workflow that processes MarcomCentral orders receives jobs from the SOAP web service input device.
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.
For more information, see the related tasks.
- Click the Workflow tab.
- Right-click the MarcomProcessOrders 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, right-click the SetJobPropsFromTextFile step and select Properties.
- In the Job Defaults - General tab, set the Job name property to a value that identifies orders from your MarcomCentral store.
- For the ApplyXSLTransform step, set the XSLT file property to the directory path and name of the
orderToOverrides.xslt
file that you created.- Note:
- This file was created in the procedure for planning how to process orders from your MarcomCentral store.
- 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 GetJobTicketsByOrderNumber 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-GetJobTicketsByOrderNumber.
- For the ApplyXSLTransform2 step, set the XSLT file property to the directory path and name of the
jobticketsReceived.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 Wait step, set the Wait for property to a value that makes jobs wait until your MarcomCentral store processes
all their job tickets.The (2) Check for tickets connector and Wait for property together specify how long a job waits for all its job tickets before it goes to the FailWithMessage step. The Wait for property specifies a wait of 1 minute, and the rule on the (2) Check for tickets connector specifies that the job goes through the branch 9 times. The elapsed time before the job goes to the FailWithMessage step is 10 minutes. If you set the Wait for property to 2 minutes, the elapsed time is 20 minutes. If you then set the rule on the connector to Custom count 1 < 20, the elapsed time is 40 minutes.
- Optional: If you want your workflows to process only print items, set the XPath expression to create jobs property for the CreateJobsFromXML step to an expression that excludes non-print items.
- For the RetainCompletedJobs step, set the Retention period property to an appropriate value for your site.
- Save and enable the workflow.
- Connect the workflow to the input device that you defined to retrieve MarcomCentral
orders:
- Click the Administration tab.
- In the left pane, click .
- Right-click the input device and select Properties.
- On the General tab, set the Child workflow property to the name of the workflow that you defined to process MarcomCentral orders.