Lesson 3 Essential Process Modeling
Lesson 3 Essential Process Modeling
https://camunda.com/download/modeler/
Events
In BPMN, events are the things that take place throughout the business process.
They are always represented by circles and can include icons within those circles to
describe the event with more detail. Your diagrams should also always include a
start and end event symbol.
Page 1 of 23
In addition to icons that get more specific about what event is taking place, the
circles they’re dropped inside tell you more about when the event is taking place. A
thin-lined circle indicates a “start event,” a double-lined circle indicates an
“intermediate event,” and a thick-lined circle indicates an “end event.”
So, if the start of your process is triggered by an error, you’d want to use a thin-lined
circle with the lightning bolt error symbol inside. If an error is occurring in the
middle of your process, you’d use a double-lined circle with the error symbol inside.
Activities
Work takes place between the events in your diagram. That work is described with
stylized rectangles to show basic tasks, sub-processes, transactions, and call activity
(sometimes referred to as callable process or global task) symbols.
Gateways
Gateway symbols are diamond-shaped indicators that split or combine your process
flow.
Exclusive gateway
Page 2 of 23
Like an exclusive gateway, this step evaluates whether a specific
condition is met or not met. The process will only move forward
if and when that condition is met.
Event-based
gateway
Parallel gateway
Page 3 of 23
This gateway operates like the exclusive gateway, rather than
waiting for a certain condition to be met, it waits for an event to
occur.
Exclusive event-
based gateway
Parallel event-based
gateway
Complex gateway
Artifacts
Data Objects
These icons show how data is referenced by, included in, or created by the process
you’re describing. It’s important to include data object artifacts when describing
Page 4 of 23
your process so that you can understand how other functions within an organization
are used by or dependent upon the process you’re describing.
Group
With a dash-dot container, you can organize multiple tasks or processes into a
group. This doesn’t change the function of the tasks or processes, but it can help you
be more specific about how each of those steps is completed.
Annotation
Annotations are curvy brackets that allow the diagrammer to add additional context
to parts of the process. While your diagram should be skimmable and quickly
understood, annotations can get into the nitty-gritty so that users who need more
information have it all at their fingertips.
Back to top
Connectors in BPMN
Sequence Flow
Sequence flow arrows show the flow of your BPMN diagram. These are the most
basic descriptions of the movement throughout your process and connect to any of
the flow objects in your diagram. Sequence flow connectors are simple, solid arrows.
Message Flow
Unlike a sequence diagram that shows how the process moves, message flow arrows
simply indicate how information is shared throughout the process. These are
represented by a dashed arrow with an unfilled arrowhead.
Page 5 of 23
Association
Association arrows connect artifacts to flow objects so that your diagram users can
understand where the additional description or data applies to the process.
Associations are shown with dotted lines — no arrowhead included.
Back to top
Last, your flow objects, artifacts, and connectors lie on top of a swimlane framework.
You may be familiar with swimlane diagrams, which are a type of flowchart that use
columns or rows to organize a process. These rows, called swimlanes or pools, are a
core part of the structure of BPMN diagrams, too.
🎬 Watch our tutorial video for tips on Gliffy's swimlane functionality: How to
Make a Swimlane Diagram
Pools
Pools are a type of division that defines a process or organization. These tend to be
broad functions, like “marketing” or “IT” or even between two different companies
or entities altogether. If you were making a model of how a restaurant serves a
customer, the restaurant and the customer would be their own pools.
Lanes
Lanes are a division that fit within pools to give a more specific definition of who
ultimately performs a certain activity. Using the example of the process of eating at a
restaurant from above, the customer would be their own pool and the restaurant
would be its own pool. However, you could further break down the restaurant pool
into lanes like “server” and “kitchen” to be more specific about who within the
restaurant is carrying out specific tasks.
Page 6 of 23
What is the Difference Between a Pool and Lane in BPMN?
It’s normal for people to misuse “lane” when they mean “pool” and vise versa. The
key difference between a pool and a lane is that pools should be used as the biggest
container for your process, while lanes should be specific and detailed within a
pool.
Almost all of the details of your diagram should fit within one pool and that pool
can have as many lanes as necessary to clearly depict your process.
A black box pool is a pool within a diagram that doesn’t include any details. It’s not
best practice for BPMN diagrams to have multiple detailed pools — it could be a
sign that the scope or audience for your diagram is too broad. Further, it’s common
for the additional pools in your diagram to be external entities, where you don’t
know or control their process.
To create a black box pool, you’d simply use a labeled rectangle. No information
would show up within that rectangle, but arrows would flow to and from the black
box.
Consider the example of the restaurant process. If you’re the restaurant manager,
you likely have some idea of what the customer will do at your restaurant, like
making a reservation or opening a bar tab, but you don’t have control over the way
Page 7 of 23
in which they go about doing those things. You could map out their process (starting
with placing an order and ending with finishing their meal, for example), but this
would simply clutter your diagram. What you care about and what you control are
purely the events taking place within the restaurant.
https://www.youtube.com/watch?v=odhFiGcqwtw
o ex. The arrow between Confirm Order and Get Shipment Address.
Page 8 of 23
o ex. Red dot above the Ship Product activity
o ex. Green dot between (is starting with the next activity) Receive
Payment and Archive Order.
o Use for:
Syntax:
{VERB}+{ADJECTIVE}+{NOUN}+{COMPLEMENT}
Model characteristics:
Page 9 of 23
Target audience (for who are you making the model).
o Organizational design:
IT-oriented
Page 10 of 23
Page 11 of 23
Page 12 of 23
Page 13 of 23
Analysis of the figure Above
A process that combines split and draw gateways so when an order arrives
check the stock then you have a spit x or gate way. So you will test whether
there is sufficient stock if there is no sufficient stock you will reject the order if
there is sufficient stock you will accept the order after accept order you have a
split and its end split means that in parallel you will ship the goods and
sender invoice this is followed by an end join so it means you wait until the
good have been shipped and invoice has been sent and only when both T task
are finished you continue with handle payment the parallel doing tasks in
parallel doesn't mean necessary to do them exactly the same time it can be
that you do first ship goods and then send invoice or then send first send
invoice and then ship goods or that by accident you do them exactly at the
same time that's not important it means actually there is no order in which to
do these two tasks on the other hand and join means that you have to wait
until both task are finished before you can.
Page 14 of 23
Page 15 of 23
Mutually Exclusive = When two or more activities are alternative to each
other.
o Join = Different process flows come together to exit the gateway as one
process flow. (2-* in, 1 out)
Deadlock = When a token cannot continue because the wrong gateways are
used.
Page 16 of 23
X marker in the gateway symbol (diamond shape).
o The line towards "Block invoice" has a line diagonal near the gateway.
o Make sure all the outgoing branches have labels describing when to
take this flow.
o From: One of the multiple incoming branches (ex. Post invoice, Block
invoice or resend invoice to customer)
o Waits for the only token to arrive from one of the branches, before
continuing.
Parallel Execution (AND)
Page 17 of 23
When 2 or more activities do not depend on each other they can be executed
in parallel.
o Waits for all the tokens to finish their branches, before continuing.
Inclusinve Decisions (OR)
o Waits for all the active tokens to finish their branches, before
continuing
Rework and Repetition
Page 18 of 23
Syntax = Set of modeling elements and a set of rules of how these elements
can be used.
Page 19 of 23
o Displayed as: A document with the upper-right corner folded over.
Note the state behind the name of the data object between [].
Data store = Contains data objects that need to be kept beyond the duration of
a process instance.
o Can be:
o Distinguishing between:
Page 21 of 23
Pools = Used to model resource classes.
Message flow = Represents the flow between two separate pools (resource
classes)
o Displayed as: Dotted line starting with an empty circle and ending
with an empty arrowhead. Also has the label indicating the content of
the message.
White box pool = It shows all the activities, events, gateways and data objects.
Receive Activity = An activity that receives a message. And starts when this
message is available.
Page 22 of 23
Revision Practical modelling based on corporate case-study
INFOMBPM - Guidance exercise 3.21
https://www.youtube.com/watch?v=aTWsQdumLWY&list=PLbn9FICCNIGjMEZ
ZD7nMrTkuZFOjsBCj6
Page 23 of 23