Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Alternatively, you can use the SOAP UI tool to test a business process. The SOAP UI application shows the request/response soap messages and is particularly helpful in error handling.

Model a BPMN process

  1. Download and setup Eclipse (Recommended Packs - 3.7 - 4.2.1 (Indigo - Juno) or 4.3 (Kepler)).

    Note

    Note: The instructions in this section are verified on Eclipse Kepler and Indigo. Note that Eclipse Helios is NOT supported.

  2. Under the Help menu, click Install New Software. In the resulting panel, click the Add button to add a repository and fill in the following fields:
    Image AddedFill in the following repository details for BPMN.
  3. Click OK to add the plugin. Once this is done, click Finish and restart Eclipse.
  4. Once Eclipse restarts, navigate to File > New > Other. From the window that appears select Activiti > Activiti Project and click Next
    Image Added
  5. Provide a suitable Project Name and click Finish

  6. Right click on your project and navigate to New > Other.

  7. From the window that appears, select Activiti > Activiti Diagram.

  8. Select the project in the viewer and enter a File name. 

  9. Click Finish.
    Image Added

    Tip

    Tip: The following example expands on creating a business process scenario, The manager invokes an order approval process where it is possible to set the product ID. Additionally, an employee from a good division can set the quantity and the unit price of the product. The quantity and the unit price are used to calculate the total cost. If the total cost is above 100,000, the order will have to be approved by an employee from the the orderApproval Group before the order mail is dispatched. Alternatively, if the cost is below 100,000, the order mail is dispatched without approval. In this example, the process is named “OrderApproval”.

  10. Click Finish. You are presented with a canvas as shown below to model your BPMN package.
    Image AddedThe palette is positioned on the right side of the screen. You can drag and drop models from the palette onto the canvas and do your modelling.
  11. To implement the OrderApproval, drag and drop a Start Event element, two User Task elements, a Mail Task element and a Terminate Event element on the canvas.
    Image Added
  12. Link up the flow according to the business logic. 

    Tip

    Tip: According to the business logic in this example, the Start Event should trigger the Fill Order Form User Task. So connect the Start Event to the Fill Order Form User Task.

  13. In the Connection tab, select SequenceFlow. Connect the Start Event to the Fill Order Form User Task.

 

Excerpt
hiddentrue

The Quick Start guide of the WSO2 Business Process Server.