OrderJobSample

This workflow and OrderSample workflow demonstrate how to submit XML order files from your ordering system, identify orders and jobs, set property values, and send jobs to be printed.

The OrderJobSample workflow receives jobs from the CreateOrdersfromFile step in the OrderSample workflow.

If the job contains a print item, the job is assigned to the Print shop branch and then job goes through all the steps from the Prepare, Print, and Complete phases. If the job contains a non-print item, the job is assigned to the Warehouse branch and goes straight to the ManualStepWithAutoStart step. In the sample, one job is printable and one is not.

The WaitForRelatedJobs step holds the jobs until all the jobs in the order arrive at the step. When all the jobs for the order arrive at the WaitForRelatedJobs step, the jobs move to the RetainCompletedJobs step. When all the jobs move to the Retain state, the order moves to Complete.

Phases and steps

The illustration shows the steps in each phase of the sample workflow.