Order Processing Flow
This sample contains
Please checkout this sample from Github. 
- The client place an order by providing client ID, item IDs, quantity, shipping address and shipping city.
 - Then Process submits order information to invoicing web service, which generates order ID and calculate total order value.
 - If total order value is greater than USD 500, process requires a human interaction to proceed. When a order requires a human interaction process creates a Review HumanTask for regional clerks. If review task is rejected by one of regional clerk user, workflow terminates after notifying the client.
 - Once the regional clerk approve the review task, workflow invokes Warehouse Locater rule service to calculate nearest warehouse.
 - Once receiving nearest warehouse, process invokes Place Order web service to finalize the order.
 - Finally user will be notified with the estimated delivery date.
 
This sample contains
- Workflow :Order_Processing_Process is written using WS-BPEL 2.0.
 - Human task & notification : Order_Processing_Approval_HumanTask is defined using WS-HumanTask 1.1.
 - Rules service : Warehouse_Locator_Service is written using Drools.
 - Web Services : Invoicing_Service_Axis2 and Place_Order_Axis2 are written using Axis2.
 

No comments:
Post a Comment