The MarcomProcessJobTicket workflow receives child jobs from the CreateJobsFromXML step in the MarcomProcessOrders workflow.
The SetJobPropsFromTextFile step sends the child jobs to the DetectInputDataStream step, which sets the data stream to XML.
The ApplyXSLTransform step uses the jobticketToOverrides.xslt XSLT style sheet to convert 10 XML elements into 10 Ricoh ProcessDirector job properties in an overrides file.
The table lists the job properties in the order that they are specified in the XSLT style sheet and appear in the overrides file.
XML element | Database name of job property | User interface name of job property |
---|---|---|
OrderDetails/OrderDetail/OrderID | Job.Marcom.OrderId | MarcomCentral order ID |
OrderDetails/OrderDetail/SKUDescription | Job.Info.Attr1 | Custom 1 |
OrderDetails/OrderDetail/SKU/ID | Job.Info.Attr4 | Custom 4 |
OrderDetails/OrderDetail/ProductType | Job.Marcom.ProductType | MarcomCentral product type |
FinalOutputFileURL/URL | Job.Info.Attr3 | Custom 3 |
floor(OrderDetails/OrderDetail/Quantity) | Job.Copies | Job copies requested |
floor($var2_current/OrderDetails/OrderDetail/ID) | Job.Marcom.JobTicketId | MarcomCentral job ticket ID |
OrderDetails/OrderDetail/ProductName | Job.Name | Job name |
OrderDetails/OrderDetail/ProductDescription | Job.Description | Job description |
OrderDetails/OrderDetail/Shipping/Method | Job.Info.Attr2 | Custom 2 |
The rule on the [1] No SKU Details connector checks whether the job has a stock-keeping unit (SKU).
The ApplyXSLTransform2 step uses the skuToOverrides.xslt XSLT style sheet to convert 3 XML elements into 3 Ricoh ProcessDirector job properties.
The table lists the job properties in the order that they are specified in the XSLT style sheet and appear in the overrides file.
XML element | Database name of job property | User interface name of job property |
---|---|---|
Media | Job.Media | Media |
Duplex | Job.Duplex | Duplex |
Package | Job.Info.Attr5 | Custom 5 |
The step puts the values in an overrides file, and overwrites the overrides file in the spool directory for the job with the new overrides file.
When the job arrives at the ContinueToNextStep step, the rule on the [1] Warehouse connector checks the value of MarcomCentral product type property. Versioned, Variable, and JobDirect are product types for printable items.
The printable child jobs go through these steps and connectors in the Print Shop branch of the workflow:
The CallSOAPService step simulates a call to a MarcomCentral web service, and it retrieves a job ticket for a printable item.
The ApplyXSLTransform2 step uses the downloadOverrides.xslt XSLT style sheet to convert the XML element for the URL of the download file into the Custom 3 job property. The step puts the value in an overrides file, and overwrites the overrides file in the spool directory for the job with the new overrides file.
The RunExternalProgram step runs a Java utility that increments the value of the Custom count 1 property by 1. The workflow then sends the job back to the second ContinueToNextStep step, which sends the job through the Wait step to the CallSOAPService step. The CallSOAPService step repeats the call to the MarcomCentral web service that retrieves a job ticket for a printable item. If the Custom 3 property still does not have a value for the URL, the workflow sends the job through the CallSOAPService step up to 9 times.
The non-printable child jobs go through this step in the Warehouse branch of the workflow:
The WaitForRelatedJobs step holds the parent job and each of the child jobs until all the child jobs arrive at the step.
When all the child jobs for the order arrive at the WaitForRelatedJobs step, the workflow sends the parent and child jobs to the RetainCompletedJobs step.
The 2 illustrations show the steps in the sample workflow. Follow the numbers at the end of the first illustration onto the path with the same number in the next illustration.
Receive and
Prepare (4 steps)
Prepare (3 steps),
Print, and Complete