Generate BPEL - Part 2. Create Business Process Diagram for Customer Service

Business Process Model Notation (BPMN) is defacto standard of designing business process. Business Process Execution Language (BPEL) is popular language for workflow engine to execute workflow. This tutorial teaches how to generate BPEL from BPMN's business process diagram and WSDL diagram.

September 16, 2009
User Rating: / 0
Views: 1,763
PDF Link Add comments
Edition: Analyst or above (Edition comparison)

< Part 1. Create WSDL Diagram for Customer Service Part 3. Create WSDL Diagram for Shipping Service >
  1. Right click on Model Explorer, and select Model > New Model, and name the model as CustomerProcess.
    new model
  2. Right click on the CustomerProcess, select Diagram > Business Process Modeling > Business Process Diagram to create a new business process diagram.
    new BPD
  3. Create the following business process diagram.
    BPD
  4. Right click on the blank area of the business process diagram and select BPEL Diagram.
    change to BPEL diagram
  5. Right click on Customer pool and select Internal.
    set to internal
  6. Open the specification dialog of Customer pool and switch to Partner Link tab, then specify the following configuration.
    1. WSDL : CustomerLT
    2. Partner Link Type : CustomerPLT
    3. My Role : CustomerServiceProvider

    partner link
  7. Press Apply button to commit, and then switch to Variables tab.
    variable tab
  8. Add a new variable, with name as Notice and select CustomerLT > <WSDLMessage> Invoice in Message field. Press OK to commit.
    add variable
  9. Create another variable, name it as Invoice, and select CustomerLT > <WSDLMessage> Invoice in Message field. Press OK to commit.
  10. Switch to Correlation Sets tab in pool's specification dialog, and press the Add button to create a correlation set.
    correlation sets tab
  11. Switch to Properties tab of the correlation sets specification dialog, and set the SessionID as Selected. Press OK to commit.
    correlation sets properties
  12. Press OK to close the specification dialog of Customer pool.
  13. Open the specification dialog of Receive Notice start event, and press the ... button next to Trigger field.
    start even spec
  14. Switch to BPEL tab, and specify the following configuration
    1. Partner Link : Customer
    2. Operation : sendNotice
    3. Variable : Notice

    trigger spec
  15. Press Apply to commit, then switch to Correlations tab, press the Add button to create a correlation.
  16. Switch to BPEL tab in the correlation specification dialog and specify the following details
    1. Initiate : true
    2. Set : Set
    3. Pattern : in

    correlation BPEL
  17. Open the specification dialog of Reply Notice task, and press the ... button next to Type field, and then switch to BPEL tab.
  18. Specify the following details inside the BPEL tab
    1. Reply : true
    2. Partner Link : Customer
    3. Operation : sendNotice
    4. Variable : Notice

    reply notice bpel
  19. Press OK to commit.
  20. Open the specification dialog of Receive Invoice task, and press the ... button next to Type field, then switch to BPEL tab and specify the following details
    1. Partner Link : Customer
    2. Operation : sendInvoice
    3. Variable : Invoice

    reveive invoice
  21. Oepn the specification dialog of Reply Invoice, and press the ... button next to Result field, then switch to BPEL tab and specify the following details
    1. Reply : true
    2. Partner Link : Customer
    3. Operation : sendInvoice
    4. Variable : Invoice

    end event bpel

< Part 1. Create WSDL Diagram for Customer Service Part 3. Create WSDL Diagram for Shipping Service >

Rate this Article

Click on one of the stars below to rate this article from 1 (lowest) to 5 (highest).

You may be interested in

  1. Drawing Data Flow Diagrams
  2. Develop as-is and to-be business process
  3. Drawing BPMN 2.0 business process diagram
  4. Introduction to BPMN Part I
  5. Define working procedures for business tasks in a business process diagram
Tags of this article:

Comments (1)

written by Quratulann on May 12, 2010

Hello:

I was trying to do the tutorial. I am using visual paradigm 7.2 enterprise edition (Build sp2_20100507. Everything was going smooth but there is a problem at step 15 when I try to switch to the correlations tab. There is no correlations tab in the Message Trigger Specification Window?? I don't know how to create a correlation set with this situation.

Regards

Write comment

Rating

Comment

Enter the calculation result

security code