Sie sind auf Seite 1von 26

Activity 4

Activity 2

The Ultimate Guide


Activity 1

to BPMN2
Activity 5

Activity 3
Revised and updated

The standard that bridges the needs


of IT and business for Business Process Management (BPM)
Contents
The 3 levels of BPMN complexity 13
BPMN at 3 levels of complexity 14
Basic BPMN 15
Why BPMN Matters 3 An example with basic BPMN 16
Intermediate BPMN 17
What is BPMN? 4 Intermediate BPMN: activities 18
The ABCs of BPMN 5 Intermediate BPMN: sequence flow 19
A means for business & technical collaboration 6 Intermediate BPMN: gateways 20
Intermediate BPMN events: catch and throw 21
The 4 categories of BPMN 7 Intermediate BPMN events: messages and signals 22
BPMN in 4 categories 8 Intermediate BPMN events: timers and errors 23
Workflow 9 Intermediate BPMN in a process model 24
Organizing 10
Readability 11 Summary 25
Special behavior 12
Sources and further reading 26

2 The Ultimate Guide to BPMN2


Why BPMN Matters
Business Process Model and mindful of the power and potential And we believe the benefits can become quickly
of shared standards. BPMN 2.0 is a apparent. In fact, the nice thing about BPMN is that
Notation 2.0 (BPMN2) is one of the natural fit with what we do. it is so structurally sound that once you master the
best things to happen in business Basic BPMN level elements, your knowledge and
process management in a long time. capability will improve quickly; youll learn what you
need from the intermediate BPMN level elements
for extending the model, and the technical team will
pick up the advanced BPMN level to complete the
Finally, both the business execution capability.
and technical sides of the We offer this Ultimate Guide to help you to get
organization can share familiar with the basics and give BPMN a try.
a common language We are convinced you will find it powerful, adaptable
something that they We realize that many people and and remarkably easy. Whether you are a business
can both understand organizations who could benefit from professional or a developer, BPMN2 is your path
and that meets their BPMN have yet to give it a try. to better processes, improved management, and
respective needs for It may be that youve been putting it more efficiency.
precision and flexibility. off under the mistaken assumption
This shared language is that you need to be an expert to
empowering new ways Miguel Valdes Faura,
use BPMN. Or it may be because the
of working together standard itself, and many of the things Bonitasoft CEO and founder
- and it results in the deployment of written about BPMN, are bit unwieldy
new and more flexible applications. and hard to dissect.
At Bonitasoft, the leading provider of In fact, BPMN is much simpler than you
open source BPM solutions, we are might think; expertise comes over time
but starting is actually pretty easy.

3 The Ultimate Guide to BPMN2


What is BPMN?

The Ultimate Guide to BPMN2


The ABCs of BPMN
If youve heard of BPMN but arent BPMN = BPM + N Notation consists of graphic symbols to represent
action, flow, or behavior of a process.
really sure what it is or what it A business process model is a representation
does, you are not alone. of an organizations processes. A model can be In a BPMS, BPMN notation represents coding
analyzed and improved. instructions that are executable.
BPMN provides a notation that can be readily
understandable by all users:
But, before we talk about what
tGSPN UIF CVTJOFTT BOBMZTUT XIP NPEFM UIF
BPMN is, lets talk about what it is Definitions processes conceptually,
not...
BPM Business Process Management tUP UIF UFDIOJDBM EFWFMPQFST SFTQPOTJCMF GPS JN-
It is not a system.
plementing the technology for the processes,
You cant buy a BPMN it is The discipline of managing processes as the
means for improving business performance tUPUIFQFPQMFXIPXJMMNBOBHFBOENPOJUPSUIF
a standard for business process
outcomes 1 processes.
collaboration and for IT development.
It is not just for business or just for BPMN Business Process Model and Notation
IT it is a shared, common language.
It is not only for experts.
A graphical representation for specifying bu- See More
siness processes in a business process model2 4%
5%

BPMS Business Process Management Suite 2%

Application infrastructure to support BPM


projects and programs from process dis-
If you are at all familiar
covery, definition and design to implemen-
with flow charting, you tation, monitoring and analysis, and through
can dive in immediately. ongoing optimization1 What is BPM?
1 Gartner Research
2 Object Management Group

5 The Ultimate Guide to BPMN2


A means for business & technical collaboration
BPMN provides a way to quickly BPMN works for any kind of management, BPMN may look familiar
operation and support process. By developing
diagram business functions. a model with BPMN, you can collaboratively
BPMN has been around for almost a
decade and much in BPMN2 remains
improve communications with decision makers
from the 1.0 version, especially the
Use it to draw a process graphically. about the nature and health of a process; you can
shapes and symbols.
The visual model will be translated collaboratively initiate improvements and you
can collaboratively move toward automating those One thing that has changed behind
quickly and easily into software that
improvements. the scenes is the adoption of XML
will run the process.
interchange format and the support
With BPMN, business people can BPMN 2.0 provides for turning a model
define what they want, simply but and its notation into an executable
with a high degree of precision; and IT process.
professionals can communicate with
Open source and proprietary BPM
each other and with business people
vendors now have the capacity to
about the model in a clear, common
take BPMN 2.0 input and turn it into
framework.
process automation.

BPMN is not an execution


source: Business Process Model and Notation, Version 2, January language.
2011 by OMG
It is designed to be consumed
by process engines and made
into executable processes.

6 The Ultimate Guide to BPMN2


The 4 categories of BPMN

The Ultimate Guide to BPMN2


BPMN in 4 categories
In the BPMN2 spec
The BPMN2 spec is long, dense and With just a few elements from first 98 visual elements
relatively complex three categories you can draw a bu-
siness process diagram and begin to 508 pages
build and understand a process. 300 figures
We can approach it by organizing 313 tables
Lets look more closely at what they
BPMN elements into a few general 3 annexes
represent.
categories. 13 collaborating groups

Workflow Organizing Readability Special behavior

Activities Pools Annotation Messages


Events Swimlanes or lanes Links Signals
Gateways Timers
Sequence flow Errors
Repeating

8 The Ultimate Guide to BPMN2


Workflow
Workflow includes activities, Events Gateways
gateways, events, and the sequence
Used to start or end a process, Used to separate or join process
flow that connects them. and to manage specific actions flow
during a workflow; it triggers
Each of these elements have several or is the result of something
types, and all of these types can be external of the process flow
connected in a sequence.

Activities Gateway
Tasks that are performed in
the process- by humans, by Event Gateway
automation, or that activate
subprocesses
Sequence flow
See More
Activity Used to show how the workflow moves

BEST
PRACTICES
Activity Activity

Getting Started with BPM

9 The Ultimate Guide to BPMN2


Organizing
Organizing includes pools Pool Swimlane
and swimlanes. Think of Contains a single, complete process. Used to help organize the process
these as the container for Workflow cannot leave a pool - we based on who does what. In a lap
need to transfer action or data from pool, swimlanes keep the swimmers
the process flow. one pool/process to another using from crashing into one another.
other means. Workflow crosses swimlane
boundaries as if they did not exist
they are purely for organizational
clarity.
Lane 1

Activity Activity
Pool

Lane 2

Activity

10 The Ultimate Guide to BPMN2


Readability
Turn diagrams into executable apps with this
powerful BPMN2 process modeler

Readability includes Links


annotations and links.
Allow you to cut a process that has become
too long to read easily, and simply continue
These elements help make a model the process on another line.
readable. They have no effect at all on
the actual process flow.

Text annotation
Allow you to paste notes all
over a model with explanations Download
and its
Throw
Throw
linklink
Catch
Catch
linklink
for clarity (a great tool for
e
Open Sourc
beginning modelers!)

Annotation

See More
Bonita BPM documentation:
Process Modeling

11 The Ultimate Guide to BPMN2


Special behavior
Special behavior includes a Signals Timers
specific set of events, repeating,
Used to broadcast information Used to launch periodic activities,
and correlation. to other process or to ensure that an activity
happens within a specified
Timer
deadline

These elements allow us to design


executable workflow that can behave
in complex ways. Throw signal Catch signal Errors
Used to define Service
Messages and message behavior when the
flow Correlation system encounters
error
Used to transfer data from one Correlation is used to coordinate
pool/process to another and to progress between two running
correlate related processes process instances Repeating
Used to repeat behavior, such as
multiple launches of the same
task (multi-instantiation) or re-
peating the same task (looping)
Throw message Correlation message

Catch message Repeating

12 The Ultimate Guide to BPMN2


The 3 levels of BPMN
complexity

The Ultimate Guide to BPMN2


BPMN at 3 levels of complexity
BPMN symbols serve a dual Lets look at these BPMN elements at the three levels of complexity:
purpose. Basic, Intermediate and Advanced

Basic Intermediate Advanced


They visually represent a process flow.
They translate to executable code that Activities Abstract task Human task
allows a visual process model to be Service task
executed as an application. Call activity
Recall that we can organize BPMN
Events start Message Event subprocess
modeling elements into a few general Timer (special
end
categories: Error behavior)
Signal

Gateways Parallel (AND) Inclusive


Workflow Exclusive (XOR)

Organizing Sequence flow Sequence flow Conditional flow


Default flow
Readability
Special behavior Looping
Special behavior Multi-instantation
Transaction
Compensation
Correlation

Note that Basic BPMN is predo- Pools


minately visual. Intermediate Lanes
and Advanced BPMN becomes Annotation
executable. Links

14 The Ultimate Guide to BPMN2


Basic BPMN
Basic BPMN is useful for modeling Basic gateways Exclusive (also known as XOR)
when details have not been Parallel (also known as AND) Only one input is needed for the
process to continue.
worked out. All inputs must be received (in any
Only one output is followed a condi-
order) before the process can continue.
tion is needed to determine which one.
Activities, events, gateways, and All outputs are activated process
sequence flow all have Basic BPMN continues in parallel.
level versions.
Basic activities are abstract, or Sequence flow simply directs
undefined. Basic events include process flow from activity to activity.
start and end events. A start begins a
process and an end terminates it.

Activity 2

Activity 1

Start event End event


Parallel gateway
Activity 3

15 The Ultimate Guide to BPMN2


An example with basic BPMN
Start with the basics: abstract Lane (HR and Trainer)

activity, start and stop events, Perform


general employee
Parallel gateway

gateways, and sequence flow. Start event

Sequence flow

Start Split Orientation task End End event


Orientation complete
For example, a generic new employee

HR
Prepare
training schedule
orientation and training process
modeled in basic BPMN elements Pool (Onboarding)
Abstract activity Process model to be
looks like this. completed with HR

Onboarding
Update the
training schedule
Imagine a token being moved through Text annotation
the diagram like a traditional board
game.
This can help clarify how the features Validate the
Publish the
training schedule
of the model control the movement of training schedule
to the employee
the token as you add complexity. No
Trainer

When a start event is triggered, a new Exclusive gateway


instance of a process begins. Think Yes
through what happens to a single
token traversing a single pathway at
Is the schedule fine with the trainer?
a time.

New employee orientation and training process


BPMN 2.0, Thomas Allweyer

16 The Ultimate Guide to BPMN2


Intermediate BPMN
To make a visual model executable,
begin to apply intermediate BPMN. Perform
general employee

In an executable process, the flow


model becomes an actual process Start Split Orientation task End
Orientation complete
application!

HR
Prepare
training schedule
As you advance with BPMN, begin
making your BPMN executable to Process model to be
ultimately turn it into an automated completed with HR

Onboarding
process. Update the
training schedule
BPMN 2.0 is not just a notation.
Implemented through a BPMN
modeling tool, it provides program-
ming instruction that a process engine Validate the
Publish the
training schedule
uses to execute the process. training schedule
to the employee
No
The previous example is a simple
Trainer

model that clearly shows visually what


happens in the process. Yes

The example on this page and the next


Is the schedule fine with the trainer?
shows how the model is extended as
you begin to apply intermediate BPMN.
New employee orientation and training process
Note that activities have been defined, and default flow has been added

17 The Ultimate Guide to BPMN2


Intermediate BPMN: activities
Intermediate-level activities include
human, service, and call activity Perform
general employee

Activities need to be differentiated


is each task performed by a person or
is it automated or performed by the Start Split Orientation task
Orientation complete
End

HR
Prepare
software?
Or, is it a subprocess in its own right? training schedule
training schedule

Process model to be
completed with HR

Onboarding
Human activity is a step that
Update the
must be done be a person training schedule

Service activity is an automated


step general employee
Publish the
Validate the
Call activity represents a training schedule
training schedule
to the employee
subprocess No
Trainer

Prepare training schedule is a call Yes


activity. It is linked to a subprocess (a
child of the original parent process).
At this point in the process, the token
Is the schedule fine with the trainer?
training sche
is passed to the subprocess, and when
it has completed its passage, it is Using this notation, you can model a top-level This means they can be modeled
passed back to the parent process. parent process that can be quite simple. It can call a independently and modified as
series of subprocesses that are entirely independent needed without necessarily changing
This is a super-useful aspect of BPMN. workflows. the parent process.

18 The Ultimate Guide to BPMN2


Intermediate BPMN: sequence flow
Intermediate-level sequence
flow includes conditional and Perform
general employee
default flows.
Sequence flow in intermediate BPMN
Start Split Orientation task End
needs to be defined as conditional or Orientation complete

HR
Prepare
default, so the flow token knows training schedule

which path to follow.


Process model to be
Basic sequence flow is simply completed with HR

Onboarding
automatic (as soon as an activity is Update the
completed, the process moves to the training schedule

next task in the sequence).

Conditional sequence flow Publish the


Validate the
Some specified condition(s) must be training schedule
training schedule
to the employee
met so the process can choose the No
Trainer

next task from among two or more


options. Yes

Conditional flow is what it sounds like:


an IF-THEN condition is defined. In this Is the schedule fine with the trainer?

(Boolean) example: Is the schedule fine with the trainer?


If the schedule is ok with the trainer, Default sequence flow
this condition = true. Default flow allows you to direct flow if, for some Sequence flow cant cross a pool boundary.
If the schedule is NOT ok with the reason, no conditions are met. The flow token always To communicate between pools (processes),
trainer, this condition = false. has a direction to take. use messages or signals.
Default flow is marked with a \

19 The Ultimate Guide to BPMN2


Activity 1 flow 1
default

Intermediate BPMN: gateways


amount > 5000
Activity 2 flow 2

The intermediate-level gateway Activity 3


Inclusive
flow 3
Inclusive
gateway 1 gateway 2
inclusive offers finercolorcontrol
is blue of
process flow
Outputs from inclusive gateway Activity 1 flow 1
default
The inclusive gateway can fire multi- Activity 4 flow 4
always
ple outputs simultaneously.
It supports conditions on the
outgoing sequence flows.
Outputs from Inputs to no token is passed
Activity 2 flow 2
inclusive gateway inclusive gateway (i.e., condition = false )
amount > 5000
Example
Condition Value
amount 5000
color red
Activity 3 flow 3
In this example, flows 2 and 4 meet color is blue
the flow condition. Flows 1 and 3 do
not so no token passes.

Inputs to inclusive gateway Activity 4 flow 4


always
The inclusive gateway waits for all
incoming inputs (tokens). All valid
inputs must be received before the Outputs from Inputs to no token is passed
inclusive gateway inclusive gateway (i.e., condition = false )
process flow can continue. The engine
recognizes which inputs it must wait
for (i.e., flows 2 and 4). Condition Value
amount 5000
color red
20 The Ultimate Guide to BPMN2
Intermediate BPMN events: catch and throw
Intermediate-level events are A catch event can be located anywhere along a pro-
cess flow. The BPMN spec somewhat confusingly
either throw or catch events. refers to this case as an intermediate event. If you
Start End stick to thinking of events as throw/send and catch/
Mastery of special start, end, and in- receive, BPMN may be easier to understand.
flow intermediate events is key to
mastery of intermediate BPMN. Message, signal and error start events allow you to
BPMN events are defined generally as
Start
message
Catch
message
Throw
message
End
message trigger processes without direct human interaction,
throw (think of these as senders) as they are set to catch information send from
and catch (think of these as elsewhere.
receivers.) Start Catch
timer timer Elsewhere can mean from a throw event
somewhere in another process, and this can be an
Mix-n-match events end event.
Events can have multiple
characteristics.
Start
signal
Catch
signal
Throw
signal
End
signal
In this case, the end of one process can trigger the
start of another process.

Timers too can start processes automatically, by


solid - throws or sends events
Catch
link
Throw
link
triggering at pre-set intervals.
empty - catches or receives events
green starts a process
red ends a process Start
error
Intermediate
error
End
error

blue intermediate, takes place within


the flow of a process

Termination

21 The Ultimate Guide to BPMN2


Intermediate BPMN events: messages and signals
Messages and signals carry timer
information across pool
boundaries.
Messages send to single receivers,
while signals broadcast widely to
many receivers. Start Catch Start Catch

Message Signal
You can start a process with a message. In BPMN, Like messages and errors, signals can
message is specifically defined as the means by be caught from elsewhere and can
which data can be transferred between processes. start a process. A single throw
With BPMN you can start a process with data signal is broadcast widely and can
received from a different process. be received by multiple catch signals.
And conversely, if you want to send data to This is useful when you want multiple
another process, use an intermediate send message actions to be triggered.
(anywhere in the process flow) or an end message.

22 The Ultimate Guide to BPMN2


Intermediate BPMN events: timers and errors
Timers can delay or pause a
process, while errors send it on an
exception path.
Like other intermediate events, timers
and errors can start a process - or
impose an action within the process Start
flow.
Errors can also end a process.
Timer Error
Timers can be set to go off at Like messages, errors can be caught -
specific intervals, or specific calendar- and can start a process, or a special
linked dates and times. For example, a error path within a sub-process.
start timer can go off every 24 hours,
or on the first Tuesday of each month.
If the timer is a start event, the process
starts when the timer goes off. If the
timer is located in the process flow,
the process waits until the timer goes
off and then it continues.

23 The Ultimate Guide to BPMN2


Intermediate BPMN in a process model
Messages, signals, timers, and
errors specify workflow behavior.
Handle error
Error

Yes
Send employee
introduction mail
Mail step done

No
Are there employees
starting work today?

Signal
Yes
Document
Split scheduled task
Start Signing Scheduled tasks complete Terminate
End

No Document signing step done


Are there document signing
appointments today?

24 The Ultimate Guide to BPMN2


Summary
With just 4 categories of basic and BPMN elements can be categorized:
If youre designing a BPM software suite,
intermediate BPMN you can begin read the BPMN2 spec...
Workflow
to build a deployable, executable If youre designing process
process application Organizing
applications, The Ultimate Guide
Readability is what you really need!
BPMN is a standard that allows
business and IT to share a common Special behavior
language, which makes development
of BPM applications for business by IT There are Basic, Intermediate, and
easier and more efficient. Advanced elements in each of these
BPMN is both a set of visual modeling categories.
elements, and a set of semantics for Basic BPMN is useful for modeling.
executable code represented by those Intermediate BPMN begins to
elements. make a model executable.
Many of the visual elements in Advanced BPMN fully defines
BPMN are similar to standard flow process behavior.
chart elements. Modeling with and See More
interpreting models with BPMN is
relatively straightforward. VIDEO Create and
Run Your First Process

25 The Ultimate Guide to BPMN2


Sources and further reading
BPMN Method and Style, 2nd ed, Bruce Silver, October 2011
OMG Business Process Model and Notation (BPMN) Version 2.0, January 2011 See More
BPMN 2.0: Introduction to the Standard for Business Process Modeling, Thomas Introduction to BPMN Object
Allweyer, February 2010 Management Group

BEST
PRACTICES C - S u i t e
Common Pitfalls
5
in Process Manage
What is $


$
$
The [nearly] Ultimate Guide

BPM?
Optimization Purchasing
$

$ $


$Efficiently
to Ending Email Overload




with BPM
$
26 The Ultimate Guide to BPMN2

Das könnte Ihnen auch gefallen