Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "STP/BPMN Component/STP BPMN Presentation"

(BPMN)
(BPMN)
Line 13: Line 13:
 
Take a peek at the obbject mode lof the BPMN diagram editor
 
Take a peek at the obbject mode lof the BPMN diagram editor
  
[[Image:http://www.eclipse.org/stp/bpmn/model/images/bpmn.xsd.ecore.gif]]
+
[[Image:bpmnObjectModel.gif]]
 +
 
 
The tool is responsible for the validation and enforcing the constraints defined by the specification.
 
The tool is responsible for the validation and enforcing the constraints defined by the specification.
  

Revision as of 00:13, 2 February 2007

The STP BPMN Modeler

The STP BPMN modeler is a BPMN diagram editor which is currently developed as a sub-project of SOA Tools Platform. The team counts two committers, Alex Boisvert and Hugues Malphettes, and a contributor Antoine Toulme.

They all work for Intalio, Inc.

BPMN

[BPMN http://www.bpmn.org/] stands for Business Process Modeling Notation. It has been developed by the Business Process Modeling Initiative, which has merged since with the OMG. The modeler does not implement fully the specification yet.


Take a peek at the obbject mode lof the BPMN diagram editor

BpmnObjectModel.gif

The tool is responsible for the validation and enforcing the constraints defined by the specification.

Origins of the modeler

The modeler has been developped based on GMF, which stands for Graphical Modeling Framework. GMF is an open source project taking place in the Eclipse Foundation. It reuses and extends two other Eclipse projects, GEF (Graphical Editing Framework) and EMF (Eclipse Modeling Framework).

The modeler is developed as a subproject of the STP project, ie the SOA Tools Platform project.

The goal of this modeler is to provide a graphical notation to express processes. Its second goal is to provide enough extensibility so that it can be reused to generate executable code.


A first milestone of the project has been published in December. The project has adopted the STP lifecycle and should release a 1.0 version sometime in Q2 this year.

My first BPMN process

  • Creating the diagram

Let's create our first Hello World process. Let's create a simple project:

NewProjectForBpmn.png

And give it an appropriate name.

SettingProjectName.png

You can create a new BPMN diagram by selecting the Examples category in the creation wizard.

NewBpmnDiagram.png

The wizard is very straight-forward, all you need is to indicate a folder and a file name.

SettingNewBpmnDiagram.png

After clicking on Finish, you will see two new files appearing in the project.

TwonewBpmnFiles.png

You can double-click on the bpmn_diagram file to open it as an editor. The diagram initially contains one pool and a task.

FirstViewOfTheBpmnDiagram.png

  • How to create shapes in the BPMN diagram editor

You can use the palette to drop elements on the diagram. The palette can either be shown as a different view, or attached to the diagram.

PaletteAsView.png PaletteAttachedToTheDiagram.png

To drop a shape on the diagram, just click on it and then click on the diagram. If you want to drop the same shape several times, you can double-click on it and it will appear as locked.

LockedPaletteItem.png

To unlock it, just click on it again.

You can also use diagram assistants to create shapes. Leave your mouse where you want to drop the shape and you will see a bubble appear.

DiagramAssistant.png

You can connect and create shapes using handles placed on the activities of the diagram.

Leave your mouse on the activity you want to connect. You will see the handles appear. Then click on the handle and drag it to another activity.

Here are the messaging edges handles: File:MessagingEdgeHandles.png and the sequence edge handles: SequenceEdgeHandles.png

If you release the mouse button while not being over and activity, the menu below will appear to give you a chance to create the other extremity of the edge.

MenuForCreatingMissingElement.png

After using repeatedly the operations described above, you can create a HelloWorld process that looks like this:

BpmnHelloWorld.png

That's all folks !

Tips and tricks

Change activityType Rich Copy/Paste to document. Linking documents to the diagram.


Reusing the modeler

Connecting to the modeler

Create a BPMN factory that generates fragments of BPMN imported into a diagram. In this scenario, a BPEL process is instrumented into a BPMN pool. It exposes the sequences and gateways of the BPEL as BPMN shapes. It keeps annotations that link to the original BPEL markup. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=171084

Back to the top