2.1 Task to be created in the example
In the example, you create an order processing task. This task totals order data, checks inventory, and creates an order form. The following figure shows the jobnet to be created for this task.
In the Processing_Of_Received_Order jobnet, define the following four jobs:
-
Job_CalculateReceivedOrderData job
-
Job_CheckStock job
-
Job_CreateReceivedOrderSlip job
-
RecoverJob_CreateShippingSlip recovery job
When you execute the Processing_Of_Received_Order jobnet, the Job_CalculateReceivedOrderData job, the Job_CheckStock job, and the Job_CreateReceivedOrderSlip job are normally executed in this order. If the Job_CheckStock job ends abnormally, the RecoverJob_CreateShippingSlip recovery job is executed.