Professional Documents
Culture Documents
0 Training
Version 2021-02
2
2
Agenda
3
Exercises and Trainingmaterial
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Important symbols
A first BPMN model…
8
Basic elements
Flow objects Connecting objects Artifacts
Custom
Gateway Association ?
artifacts
Participants Data
Lane
9
What BPMN should be used for
10
Tasks and events
Sequence
Flow
11
The XOR-gateway
Data-based
exclusive
gateway
(splitting)
12
XOR-gateways can also merge
Data-based exclusive
gateway (merging)
13
Don‘t be afraid of loops – they are welcome!
No need to
split “before“
merge
14
Combined merge/split
15
What happens if no condition applies?
Default
flow
16
Preparing salad and main course
Association
Annotation
17
Preparing salad and main course at the same time
Parallel Gateway
(Parallelized) Parallel Gateway
(synchronizing)
18
What happens in this process?
19
What happens in this process?
20
Example: ATM
21
Syntactical correctness of process models
place order
supply
start milestone
ordered
Synta
ct
corre ically
check order ct?
22
Semantic correctness of process models
23
BPMN in the context of BPM
The two faces of BPM
Organizational View
Process Automation
since 2006
Human Service-oriented
Workflow Management Architectures (SOA)
since 2000 since 2005
Document-Management – Enterprise Application
Systems – DMS (i.a.) Integration – EAI
25
Do you know your processes?
26
The problem of functional organizations
27
Process-centered organizations
28
Business Process Maturity Levels
# Name Description
1 Initial Wherein business processes are performed in inconsistent sometimes adhoc
ways with results that are difficult to predict.
2 Managed Wherein management stabilizes the work within local work units to ensure that it
can be performed in a repeatable way that satisfies the workgroup‘s primary
commitments. However, work units performing similar tasks may use different
procedures.
3 Standardized Wherein common, standardizes processes are synthesized from best practices
identified in the work groups and tailoring guidelines are provided for supporting
different business needs. Standard processes provide an economy of scale and
a foundation for learning from common measures and experience.
4 Predictable Wherein the capabilities enabled by standard processes are exploited and
provided back into the work units.
5 innovative Wherein both proactive and opportunistic improvement actions seek innovations.
29
Business processes are different
1 1 - Management processes
30
Example: Damage adjustment ≠ Damage adjustment
Parameters • Occurs often, damages are relatively low • Mostly seldom, damages high
• Narrow possible bandwith • Wide range of damages (pensions etc.)
• Regulation must be efficient • Regulation must be effective
Consequences • Standardized work instructions • Less standardized flows, high dynamics
• Dynamic only for exceptions (suspected fraud) • Based on know–how of employees
Conclusion • Automation can just partially support the
• Automation possible and profitable
workflow
31
Roles in BPM
Scope Role
Entire Project Manager
Implements BPM as a methodology
organisation
CPO
Oversees the overall process architecture
32
The process engine
Recording
cycle time
Modeling
33
Human task management
34
BPEL (Business Process <?xml version="1.0" encoding="UTF-8"?>
<bpws:process name="SimpleBPEL"
targetNamespace="http://www.camunda.com/example" ... >
Execution Language) ...
<bpws:partnerLinks>
<bpws:partnerLink name="client"
myRole="SimpleBPELProvider"
partnerLinkType="tns:SimpleBPEL"/>
<bpws:partnerLink name="someWebservice"
partnerRole="ServiceProvider"
partnerLinkType="tns:SimpleService"/>
</bpws:partnerLinks>
<bpws:variables>
<bpws:variable messageType="tns:RequestMessage" name="input"/>
<bpws:variable messageType="tns:InvokeMessage" name="parameter"/>
</bpws:variables>
<bpws:sequence name="main scope">
<bpws:receive name="receive"
createInstance="yes"
operation="initiate"
variable="input"
partnerLink="client"
portType="tns:SimpleBPEL"/>
<bpws:assign name="assign" validate="no">
...
</bpws:assign>
<bpws:invoke name="invoke"
operation="methodName"
inputVariable="parameter"
partnerLink="someWebservice"
portType="tns:ServiceInvoke"/>
</bpws:sequence>
</bpws:process>
35
Development of BPMN
2005 Development
Object Management Group (OMG)
36
Proposed architecture with BPMN 1.2
BPEL
Engine
BPMN 1.2 as a model
37
Proposed architecture with BPMN 2.0
BPMN
Engine
38
Symbols and attributes
39
Models and their target groups
40
Different application scenarios
Business-IT- Technical
Alignment Implementation
Organizational IT Projects
Projects
41
Let‘s continue with BPMN…..
How long does the process instance take to finish?
43
Various options in the combination of our meal
44
The OR-gateway enables a compact representation of
complex path variants
45
An incredibly (?) compact version
46
How long does the second OR-gateway need to wait?
Wait?
47
Eliminate the OR-Join
Exercise 2
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Implicit vs. explicit modeling
= =
49
OR-Split with conditional flows
Conditional
Flow =
50
The same process?
51
Responsibilities represented using lanes
Pool
Lane
52
Incorrect lane handling
Error: This
representation is not
permissible in BPMN
53
Correct lane handling
54
Formal vs. practical point of view
The pool controls
the process
55
Interlacing lanes into sub-lanes
56
Some conventions: naming and layout
57
Cawemo
Demo
Dispatch of Goods
Exercise 1
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
The complex gateway
Complex gateway
60
Events in BPMN
Start Event
62
Most important events in BPMN
63
The process will wait for the message
Pizza
Pizza
restaurant
64
„Throwing“ message event
Not recommended!
Use Task instead
65
With this, multiple Start Events are possible!
66
Examples for timer events
67
The conditional event
68
What happens if the pizza didn‘t arrive?
69
The first event that is triggered determines the sequence
flow
eventbased
exclusive gateway
70
Applying the event-based gateway
71
Recourse
Exercise 3
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
A task and a collapsed subprocess
73
The expanded subprocess
74
Reusing process models using call activities
75
Annotations and groups
76
Custom artifacts
Custom Custom
artifact artifact
77
Search for Errors
Exercise 4
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Orchestration and collaboration
The process orchestration
80
For the orchestration, the conductor controls the process
1st flute
2nd Violine
2nd flute
1st Violine 2
3
1
Cello
4
81
82
For collaboration, the participants control their
processes and inform each other
Guitar Bass
2
Singing
3
Guitar
1
Drums
82
Each process participant operates in a separate pool
Separate Pools
Message Flow
83
Two processes – How do they work together?
84
The collaboration diagram
85
The customer‘s perspective
Expanded Pool
Collapsed Pool
86
Acceptable constructs for working with pools and
message flows
87
Forbidden constructs
88
Synchronous communication
89
Asynchronous communication
• Asynchronous means
sending out a message
optionally waiting for a reply to
the message
• Between sending and
receiving the message further
actions can be performed
90
Credit Scoring
Exercise 6
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Self Service Restaurant
Exercise 7
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Modeling Data
Using data objects
Data Association
Data Object
94
Input and output data object, collection, data store
Collection of
Data Inputs
Object
Output Data
Object
Data Store
95
Using data elements
Message Object
96
Pizza process with messages
97
Cooking with BPMN
Übung 5
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Attaching boundary events
Boundary events
Catching events Throwing events
Start events Intermediate events End events
The process triggers
The process is The event subprocess is The event subprocess is The process The process triggers the
The event is reacted to, The event is reacted to, the event and
started by the started, the parent process started, the parent process is continues only, if the event at the end of the
the activity is canceled. the activity is not canceled. continues
engine. canceled. not canceled. event occurs. process path.
immediately.
? ? ? ? ? ? ? ?
Conditional: Reacting to
changed conditions and relation
to business rules.
Compensation: Handling or
triggering of a compensation.
Parallel multiple:
Occurence of all events.
Symbols of BPMN (following the BPMN poster of the Berlin BPM offensive: www.bpmb.de/poster)
NEW in BPMN 2.0 Taken from "Praxishandbuch BPMN" by Jakob Freund and Bernd Rücker; © 2010 Carl Hanser Verlag Munich
100
The attached message event results in the cancellation of
the task “Search for error“
101
Model timeouts
102
The catching event cancels the entire subprocess
103
Non-interrupting boundary events
104
Pizza order - interrupting the inquiry
Exercise 9
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
More event types
More event types
? ? ? ? ? ? ? ?
Conditional: Reacting to
changed conditions and relation
to business rules.
Compensation: Handling or
triggering of a compensation.
Parallel multiple:
Occurence of all events.
Symbols of BPMN (following the BPMN poster of the Berlin BPM offensive: www.bpmb.de/poster)
NEW in BPMN 2.0 Taken from "Praxishandbuch BPMN" by Jakob Freund and Bernd Rücker; © 2010 Carl Hanser Verlag Munich
107
Signal events
108
The process always ends after 55 minutes
109
The process may be terminated after task 3
110
The subprocess reports an error to its parent
111
The difference between error and escalation
112
Handling problems
Exercise 10
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Task types and markers
Task types
Receive
Manual Service
(instantiating)
115
User Task
116
Service Task
117
Business Rule Task
118
Customer Onboarding
119
Adhoc subprocess
120
Loop marker
121
Loops
This is
functionally
similar to this
122
Multi instance marker
123
Multi instance
This is
functionally
similar to this
but allows for a
dynamic
number of
tasks or sub
processes
124
Multiple instance options
125
Multiple instance example: ordering pizza
126
Multiple instance example: pizza delivered
127
Allowed & forbidden markers
Compensation Compensation
Loop MI Compensation
Loop MI
Sub-Process Sub-Process Sub-Process
Sub-Process Sub-Process
Compensation Loop MI
Adhoc
Adhoc Adhoc Adhoc
Sub-Process
Sub-Process Sub-Process Sub-Process
~ ~ ~ ~
Compensation Compensation
Loop Adhoc MI Adhoc
Sub-Process Sub-Process
Loop = Schleife
~ ~
MI = Multiple Instances = Mehrfachinstanz
Compensation = Kompensation
~ Adhoc = Adhoc
128
Event Subprocesses
Calm Pizza Customer Down
Exercise 8 – Part 1
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Event Subprocesses
? ? ? ? ? ? ? ?
Conditional: Reacting to
changed conditions and relation
to business rules.
Compensation: Handling or
triggering of a compensation.
Parallel multiple:
Occurence of all events.
Symbols of BPMN (following the BPMN poster of the Berlin BPM offensive: www.bpmb.de/poster)
NEW in BPMN 2.0 Taken from "Praxishandbuch BPMN" by Jakob Freund and Bernd Rücker; © 2010 Carl Hanser Verlag Munich
131
How can we handle a cancellation?
132
The way we already know: With boundary events!
133
The way we already know: Subprocess and a boundary
event!
134
The new way: With an event subprocess!
135
Event subprocess: timeouts
136
Event subprocess: global error handling
137
Calm Pizza Customer Down
Exercise 8 – Part 2
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Attaching events to subprocesses
139
Local event subprocesses
Non interupting
event sub-
process
Interupting
event sub-
process
140
Collapsed event subprocesses
Dinner preparation
Start End
Invite friends
Eat meal
for dinner
Start End
Provide for
Procure food
guest
141
…now the last symbols
Associated link events can replace a sequence flow
143
Event type: multiple
Important:
Different semantics
144
Alternative for multiple event
145
Event type: multiple parallel
146
Instantiating gateways
NOT RECOMMENDED!
DEADLOCK!
147
Compensation
148
Compensation event
149
Transactions
150
BPMN Roulette
Exercise
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Reservation System
Exercise 14
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Coupling of processes
Types of coupling
154
Direct Coupling
Characteristics:
• The linked process is called / started directly
• Coupling is obvious in the model
• Synchronous calls are possible
155
Direct coupling: message flows
See also:
Orchestration and
collaboration
156
Coupling with message flows in practice
157
Direct coupling: signal event
158
Difference: message vs. signal
A message flow
always has one
sender and exactly
one recipient
(1:1 relation)
159
Difference: escalation
160
Direct coupling: call activity
161
Direct coupling: decomposition (collapsed subprocess)
Disadvantage: By using
= • The subprocess is
started directly by
the main process
the decomposition, the
sub process is not
visible
162
Indirect coupling
Characteristics:
• The linked process is not called / started directly
• Usually requires gathering of status data from the linked process
• Coupling is not obvious in the model
• Is necessary for coupling batch and non-batch processes
163
Indirect coupling: system status
164
Indirect coupling: process data
165
Introducing BPMN on a broad base
Different application scenarios
Business-IT- Technical
Alignment Implementation
Organizational IT Projects
Projects
167
The camunda BPM lifecycle
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
168
Clarifying goals is critical
Roles
Methods
Goals Tools
Processes
169
Knowledge allocation for BPMN
External
Gurus consultants
Followers
Non-Users
170
Assignment In larger organizations
Top management
BPM CC
171
Camunda house
172
Camunda house
• Fast comprehension
• Logically abstract
Strategic process model
173
Strategic level on a broad scale, operational only if
needed
Process modelling on strategic level
(Usually in context of AS-IS discovery)
Detailed modeling
on operational
level
(in context of
Process 6
Process 1
Process 2
Process 3
Process 7
process 4
process 5
process design/
optimization)
Technical
modeling on
operational level
(in context of
process
execution)
174
Top-Down-Bottom-Up: continuous improvement
Process owner
(Cross-functional)
Process team
175
BPM – agile or classic
ROI
BPM
agile project
return
classic
ROI
BPM
project
ROI
ROI
BPM
project
ROI
BPM
project BPM project
time
176
CIP in the BPM lifecycle
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
177
Success factors for CIP
Modeler
178
The alternative?
Annoyed
divisions and Dissatisfied
domain experts modelers
“Dead“
process documentation
179
Process documentation
Different application scenarios
Business-IT- Technical
Alignment Implementation
Organizational IT Projects
Projects
181
The Camunda BPM lifecycle
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
182
Clarifying goals is critical
Roles
Methods
Goals Tools
Processes
183
Systematic clarification of all aspects: Goals
Processes
184
Systematic clarification of all aspects: Roles
Departments:
185
Systematic clarification of all aspects: Processes
186
Systematic clarification of all aspects: Methods
Processes
187
Systematic clarification of all aspects: Tools
188
Relation to the Camunda House
• Automated control
flow
• Interaction flow • Code
• Interaction between
user and system
189
“Sick leave process“ at strategic level
190
“Sick leave process“ at operational level
191
“Procurement process“ at strategic level
192
“Procurement process“ at operational level
193
Strategic level on a broad scale, operational only if
needed
Detailed modeling
Process 1
Process 2
Process 3
Process 4
Process 5
Process 6
Process 7
on operational
level
(in the context of
process design/
optimization)
194
The Camunda BPM lifecycle
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
195
Invoice Receipt
Exercise 11 – Part 1
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Business-IT-Alignment
Different application scenarios
Business-IT- Technical
Alignment Implementation
Organizational IT Projects
Projects
198
The Camunda BPM lifecycle
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
199
Systematic clarification of all aspects
Roles
Methods
Goals Tools
Processes
200
Systematic clarification of all aspects: Goals
Processes
201
Systematic clarification of all aspects: Roles
• Departments:
Roles: possibly setting up a BPM
• Decentralized documentation (business analysis) Center of Excellence, Subject
Matter Experts, Process Modelers,
Process Engineers, Technical
• IT:
Consultants, Quality Assurance
• Requirements engineering by IT experts
People
• Technical implementation of the requirements by IT experts
202
Systematic clarification of all aspects: Processes
203
Systematic clarification of all aspects: Methods
• BPMN Roles
• UI/UX- Design
204
Systematic clarification of all aspects: Tools
205
A customer‘s AS-IS situation
Analytical
model
(ADONIS)
Executable
model
(Sungard IPP)
206
Analytical model in BPMN 2.0 (BPMN-modeling Tool X)
207
Executable model in BPMN 2.0 (Camunda Modeler)
208
The real world is slightly more complex …
209
Camunda House
210
Relation to the Camunda House
• Automated control
flow
• Interaction flow • Code
• Interaction between
user and system
211
Example "Incident Management“
https://github.com/camunda-consulting/code/tree/master/one-time-examples/incident-management
213
Core idea #1: Move ”problems“ to an upper level
Human Technical
process flow process flow
214
Incident management at strategic level
215
Core idea #2: operational level provides different views
Orchestration of the
View Own orchestration Whole collaboration
process engine
216
The call center agent‘s process
217
The 1st level support agent process
218
2nd level support agent and software developer
219
Invoice Receipt
Exercise 11 – Part 2
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
How to create the technical flow
Human Technical
process flow process flow
221
Deriving the technical process model
Process Process-Engine
participants
222
The executable process model
223
Invoice Receipt
Exercise 11 – Part 3
https://training.camunda.com/bpmn/
user: bpmn
password: camundarocks
Process automation
Example invoice receipt
226
Process automation
227
How to automate a BPMN 2.0- process?
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
228
Process automation
XML
+ Code + UI
229
Technical attributes of a BPMN model
230
Live Demo
Automation with Camunda Plattform
The process is in the center
GUI
User
Data
Stories
Process
Tests Rules
NFRs
232
Process automation – which tool?
233
Possible alternatives
1. No automation
2. To program for themselves
3. To use standard-Software
4. Classical BPM Suite
5. Developer- friendly BPM
234
Alternative 1: No automation
235
Alternative 2: Custom programming
236
Alternative 3: Off-the-shelf-software
Purchased software with e.g. invoice receipt module, document management systems
237
Alternative 4: Classical BPM-Suite
• Faster process executions • Software is a foreign body in the • Costs for license
• Less process costs company‘s IT landscape • Proprietary know-how (specialized
• Dependence on software supplier consultants and developers)
• Less process errors
• Improvement of process visibility
(dependent on software producer)
• End-to-End-processes possible
238
Alternative 5: Developer-friendly BPM
• Faster process executions • Taking a risk on doing it differently • Cost for development and
• Need for developers integration
• Less process costs
• Less process errors
• Improved process visibility
• End-to-End-processes possible
• Embeddable in IT- landscape
• Standard technology and
procedures (e.g. Java, CI, Scrum)
239
Summary of the alternatives See also
Whitepaper:
Camunda in comparison
with other alternatives
Custom-tailored processes X X X X
No dependence on software
X X X
supplier/ producer
End-to-End-processes possible X X
240
The energy supplier
241
Process Controlling
Do you know your processes?
243
Process controlling as a result of automation
Current state
process model
New process
Diagnose problems,
Workshops, interviews, search for causes,
monitoring estimate potential
Weak points?
Process Process
Process survey Yes
Modeling target state design,
documentation analysis
process simulation, assessment
Existing of alternatives, ROI estimate
No
process Current state
process
Modeling, process maps,
flow diagrams
model
Process Process
Process
controlling Design
conception
Process
implementation
BPM governance
244
Transparency means quality
Instance-based (Cockpit) Process-based (Optimize)
245
Benefits - Reporting based on automated processes
Improved
business sucess
246
Camunda Platform and Optimize
Business Analyst /
Developer Task Worker Operator Administrator Process Owner
Custom
Modeler Tasklist Cockpit Admin Optimize
Application
Engine
File (BPMN, CMMN, DMN)
Model
Modeling Execute
Execution Improvement
247
Live Demo
Reporting with Optimize
Methods: BPMN Guidelines
Question: For which scenario do I want to use BPMN?
Business-IT- Technical
Alignment Implementation
Organizational IT Projects
Projects
250
Why do I need a modeling guideline?
• BPMN is complex
• BPMN has many degrees of freedom
• A guideline provides a framework and orientation
• It helps to model faster and with better quality
• It helps to make models more consistent and
therefore better comparable and easier to
understand
251
Important parts of a BPMN guideline
Subset of
…
symbols
Modeling
Layout
alternatives
252
Aspects for describing a guideline element
Specification
Example
253
Subset of Symbols …
Subset of
symbols
Design BPMN
Naming
Patterns Guideline
• Define a subset of BPMN symbols
Modeling
alternatives Layout
• Extend with own artefacts, if needed
254
Naming …
Subset of
symbols
Design BPMN
Naming
Patterns Guideline
• Helps to make models more consistent
Modeling
alternatives Layout
• Supports better readablility
255
Example: Naming
• Specification: For naming elements in a BPMN model following rules shall apply:
Task: [object] + [verb]
Event:[object] + [state]
• Explanation: Consistent naming significantly improves readability and can prevent errors.
• Example:
• Counterexample:
256
Layout …
Subset of
symbols
Design BPMN
Naming
Patterns Guideline
• The layout deals with the visual appearance of process
diagrams
Modeling
alternatives Layout
257
Example: Layout
258
Modeling alternatives …
Subset of
symbols
Design BPMN
Naming
Patterns Guideline
• A guideline that explains how
certain situations should be modeled
Modeling
alternatives Layout
259
Example: Modeling alternatives
• Specification: End events with similar meaning should be summarized in one symbol. End
events with differing meaning should be modeled separately.
• Explanation: This way, the viewer will know faster that different end states are possible, and
it will be easier to recognize the respective state.
260
• Example:
• Counterexample:
261
Design Patterns …
Subset of
symbols
Design BPMN
Naming
Patterns Guideline
• Available design patterns: The design patterns suitable for the situation are shown
262 through examples
Example: Design Patterns (two-stage escalation)
Requirement:
• I send her a reminder for my request, and I may set a new deadline (if necessary, I can repeat
this several times)
• In case of no reaction: Escalation (e.g.: forwarding invoice to debt collector, cancelling the
order, informing a superior of non-performance)
263
Recommendation:
• Alternative: „Attached timer events“ (if the selected engine cannot interpret the event-based
gateway)
264
Available Design Patterns:
• Event-based gateway with loop
265
Pathway to own guideline
Clarify Framework
• Define the goals
• What do I want to model? What usage do the models have? What is the target group?
266
Business rules with DMN
Discount rules in a BPMN model?
268
Discount rules in a DMN table
269
DMN standard
270
DMN tables can be executed
271
Structure of a DMN table
Hit Policy
Table name
+ ID Output Name +
Expression
Input Name
+ Expression
Rules
272
Hit Policies
Single
U(nique): Exactly one rule applies
A(ny): More rules can apply but don‘t necessarily provide the same outcome
P(riority): Rule with the highest priority (result field) is selected
F(irst): First applicable rule is selected (order of rows)
Multiple
O(utput Order): List of results in order of priority (result fields)
R(ule Order): List of results in order of rules
C(ollect): List of results without an order, can be combined with operators +
(Sum); < (Min); > (Max); # (Amount)
273
More examples from the DMN specification
274
Discount rules are referred in a BPMN model
275
Frequency of modification
276
Process engine and decision engine
277
DMN defines „Decision Requirements Levels“
278
DRD example: skill-based assignment
279
Decisions in a DRD can be tables
280
Camunda training offering
Camunda BPM Overview (1 day) BPMN (3 days) Camunda Platform for developers (3 days)
è Introduction into BPMN è BPMN in detail è Introduction BPMN
è Hands on Camunda BPM è Implementing BPM-projects with BPMN è Camunda Platform Architecture
è Monitoring & Reporting è BPMN real world examples è Automating processes with Camunda
è How to start with Camunda è BPMN in context of DMN è Testing, deployment, versioning
281
Feedback Time!
https://camunda.com/services/training/feedback
282
Thank you
and good luck
with BPMN!
Training
completed