Multilingual Wiki Documentation

You are currently using syntax.
In an attempt to improve PlantUML documentation...
Please do not use this website for your own diagrams.
You can click here and use the online server here for your own documentation.

Wiki Toc    Recent changes    View page history    Add new chapter    Reorder page    Raw


Business Process Model and Notation (BPMN)

This is preliminary works to add BPMN support in PlantUML.

Right now, some quick stuff have been done.

The implementation is based on ideas developped in:

[Ref. Wiki-BPMN]

Final examples

@startbpm
:login;
20:<+>
:show new message1;
30:<+>
resume 20
:show new task2;
@endbpm

[Ref. QA-5647]

@startbpm
:login;
new branch
:show new message1;
else
:show new task2;
end branch
new branch
:Accept Task;
else
:nothing;
else
new branch
:read message;
else
:dummy;
end branch
end branch
:logout;
@endbpm

[Ref. Wiki-bpmn]

Existing diagrams

Please put here pointer existing diagrams that you'd like to have supported in PlantUML.

Basic processes with User Task, Service Task, Exclusive Gateways, and Parallel Gateways

Start with simple examples!

This PDF gives a good overview of the BPMN2.0 syntax. It basically boils down to boxes, circles and lines plus swimlanes. So it is close to an activity diagram.

All shapes can be "decorated" with symbols. These add some more detail, but are not necessary to get an overview of the process. This fact should be reflected in the syntax - it should first let you design the process and then add the details.

Syntax

The proposed syntax is probably not very clear.

Here we have to talk about it and propose a better one.

There are rules for good diagrams which might make the syntax easier to create. One of these rules is that when you split the process- (token-) flow, it will be merged back together with the same symbol. [comment: This is not neccessarily true. It is allowed to merge the flows with a different gateway, again or without any gateway at all. Also, the flows don't need to be merged]

There is also the feature of "closed" swim-lanes - swim-lanes where the content is not shown because the detailed process is not known or you want to focus on other parts of the diagram. It should be reflected by the syntax that a swim-lane can be opened and closed with just a switch.

Example1

@startbpm
XXXX
@endbpm

Example2

@startbpm
XXXX
@endbpm

Example3

@startbpm
XXXX
@endbpm

Other theorical works

The following BPMN Layouter project may be interesting. jjc-mt.pdf


Please report any bugs to plantuml@gmail.com or here.
This website is still in beta testing.