Activity diagram

The activity diagram is a high-level description of the steps that are executed in the order processing scenario.

 

step1 The order processing starts when the customer either logs in or submits product data. The order in which these two sets of data arrive is not important. The login data provided by the customer contains information like the name and birthday, while the product data specifies the product that has to be ordered.

step1 The login information provided by the customer has to be checked with regard to its completeness and correctness.

step1 Should the login data contain any errors, the process can not continue and therefore ends.

step1 Based on the product data provided in the order, it is checked whether the product is on stock.

step1 If the product is available, the price for the shipment of the ordered product is determined. For this purpose, a shipment Web service is called.

step1 The total price of the order is calculated from the product price and the shipment price.

step1 In two parallel branches, the customer is charged and the shipment is performed.

step1 When the charging and the shipment have been performed successfully, the order is filed and the process ends.

Order processing scenario

BPEL Flow Model