Professional Documents
Culture Documents
Introduction To BPMN: IBM Software Group
Introduction To BPMN: IBM Software Group
Introduction to BPMN
Stephen A. White, BPM Architect, IBM October 16, 2006
IBM Corporation
IBM Software Group | WebSphere software
Introduction
2
IBM Software Group | WebSphere software
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
3
IBM Software Group | WebSphere software
Background
What is BPMN?
Origins of BPMN
6
IBM Software Group | WebSphere software
Background
A BPM Hourglass
System Architects
BPEL
Execution
Software Engineers
Technology Implementation
Copyright 2005, OMG 7
IBM Software Group | WebSphere software
Background
8
IBM Software Group | WebSphere software
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
9
IBM Software Group | WebSphere software
BPMN Basic Concepts
Diagram Elements
Back
10
IBM Software Group | WebSphere software
BPMN Basic Concepts
Events Sequence
Flow
Pool
Name
Activities Message Flow
Name Name
Name
Gateways Association
Back
11
IBM Software Group | WebSphere software
BPMN Basic Concepts
Activities
! An activity is work that is
performed within a business
Sub-Process process. An activity can be
Task
atomic or non-atomic
(compound). The types of
activities that are a part of a
Process Model are: Sub-
Process, and Task
! Activities are rounded rectangles
! They can be performed once or
can have internally defined loops
Looped
Task
12
IBM Software Group | WebSphere software
BPMN Basic Concepts
Tasks
13
IBM Software Group | WebSphere software
BPMN Basic Concepts
Sub-Processes
! Sub-Processes enable hierarchical
Process development
! A Sub-Process is a compound activity that Collapsed Sub-
Process
is included within a Process. It is +
compound in that it can be broken down
into a finer level of detail (a Process)
through a set of sub-activities
! For a collapsed version of a Sub-Process,
The details of the Sub-Process are not
visible in the Diagram. A plus sign in the Expanded Sub-Process
Events
! An Event is something that
happens during the course
of a business process.
Start Intermediate End
These Events affect the flow
of the Process and usually
have a trigger or a result.
They can start, interrupt, or
end the flow
! Events are circles
! The type of boundary
determines the type of
Event
15
IBM Software Group | WebSphere software
BPMN Basic Concepts
Start Events
None
! Start Events indicate where a Process
will begin Message
! There are different Triggers that
indicate the specific circumstances that Timer
start the Process
Rule
!None Start Events are used to mark
the start of Sub-Processes or when Link
the start is undefined
Multiple
!The Link Start Event will be
removed in the next version of BPMN
!Any one of the Triggers included in
a Multiple Start Event will start the
Process
16
IBM Software Group | WebSphere software
BPMN Basic Concepts
Intermediate Events
None
! Intermediate Events occur after a
process has been started and before Message
a process is ended
! There are different Triggers that Timer
indicate the specific circumstances
Error
of the Event
! They can be placed in the normal Compensation
flow of the Process or attached to
the boundary of an activity Rule
Link
Multiple
17
IBM Software Group | WebSphere software
BPMN Basic Concepts
18
IBM Software Group | WebSphere software
BPMN Basic Concepts
compensation
19
IBM Software Group | WebSphere software
BPMN Basic Concepts
End Events
None
! End Events indicates where a process
will end Message
! There are different Results that indicate
the specific circumstances that end the Error
Process
Compensation
!None Start Events are used to mark
the start of Sub-Processes or when the Link
start is undefined
Terminate
!The Link End Event will be replaced
in the next version of BPMN (probably Multiple
with a Signal)
20
IBM Software Group | WebSphere software
BPMN Basic Concepts
Gateways
! Gateways are modeling elements that
Exclusive are used to control how Sequence
Data-Based Flows interact as they converge and
diverge within a Process
! All types of Gateways are diamonds
Event-Based
! Different internal markers indicate
different types of behavior
Inclusive
! All Gateways both split and merge
the flow
Complex
21
IBM Software Group | WebSphere software
BPMN Basic Concepts
Exclusive Gateways
22
IBM Software Group | WebSphere software
BPMN Basic Concepts
23
IBM Software Group | WebSphere software
BPMN Basic Concepts
24
IBM Software Group | WebSphere software
BPMN Basic Concepts
Inclusive Gateways
25
IBM Software Group | WebSphere software
BPMN Basic Concepts
Complex Gateways
Report from
Sector A
Report from
Sector E
26
IBM Software Group | WebSphere software
BPMN Basic Concepts
Parallel Gateways
Post Results
on Web Site
! Parallel Gateways are Prepare
Results
places in the Process where
E-Mail
multiple parallel paths are Results of
Vote
defined Post Results
!They are not required for on Web Site
Prepare
forking in most situations. Results
E-Mail
!They can be used for Results of
Vote
methodological purposes
! The + marker is used to Post Results
on Web Site
identify this Gateway
! The Gateway is also used to
synchronize (wait for) E-Mail
Results of
parallel paths Vote
27
IBM Software Group | WebSphere software
BPMN Basic Concepts
Connectors
! A Sequence Flow is used
Sequence
Flow
to show the order that
activities will be performed
in a Process
Sequence Flow
29
IBM Software Group | WebSphere software
BPMN Basic Concepts
30
IBM Software Group | WebSphere software
BPMN Basic Concepts
31
IBM Software Group | WebSphere software
BPMN Basic Concepts
Message Flow
Company
! A Message Flow is used to show
the flow of messages between
two Participants of Process
!In BPMN, separate Pools Wage
Employee
! A Message Flow can connect to
the boundary of the Pool or to an
object within the Pool
! Message Flow are not allowed
between objects within a single
Pool
32
IBM Software Group | WebSphere software
BPMN Basic Concepts
Associations
! An Association is used to
Order
associate objects to one [Approved] Fulfill Order
Prep for
Insurance
Carrier
33
IBM Software Group | WebSphere software
BPMN Basic Concepts
Swimlanes
Receive
Send Doctor Send Send Medicine Receive
Receive Appt. Prescription
Request Symptoms Request Medicine
Pickup
Illness
Occurs
6) I feel sick
Receive Send Receive Receive Receive
Doctor Availability Doctor Send Booking Send Appt. Prescription Medicine Send Medicine
Request Request Availability Preparation Request
Doctors Office
34
IBM Software Group | WebSphere software
BPMN Basic Concepts
Pools
Buyer
an interactive (B2B) Business Receive
Process Diagram
!A Participant may be a
business role (e.g., buyer or
seller) or may a business PO Message
entity (e.g., IBM or OMG)
! A Pool may be a black box or
Order
may contain a Process
Seller
! Interaction between Pools is ... Send ...
handled through Message Flow
! Sequence Flow cannot cross
the boundary of a Pool (i.e., a
Process is fully contained within
a Pool)
35
IBM Software Group | WebSphere software
BPMN Basic Concepts
Lanes
Administration
Purchase
Info Prepare PO
partitions for the objects
within a Pool Cancel Order
! They often represent
organization roles (e.g.,
Management
Manager, Associate), but Approval Approve
Approved
Cancel
Order
Request Email ?
can represent any desired Request Yes
Process characteristic
Web Server
! Sequence Flow can cross Dispatch to
Approver
Lane boundaries
36
IBM Software Group | WebSphere software
BPMN Basic Concepts
Artifacts
37
IBM Software Group | WebSphere software
BPMN Basic Concepts
Text Annotations
38
IBM Software Group | WebSphere software
BPMN Basic Concepts
Data Objects
39
IBM Software Group | WebSphere software
BPMN Basic Concepts
Groups
40
IBM Software Group | WebSphere software
BPMN Basic Concepts
41
IBM Software Group | WebSphere software
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
42
IBM Software Group | WebSphere software
Exercise 1
43
IBM Software Group | WebSphere software
Exercise 1
Questions: Set 1
44
IBM Software Group | WebSphere software
Exercise 1
Questions: Set 2
45
IBM Software Group | WebSphere software
Exercise 1
Questions: Set 3
46
IBM Software Group | WebSphere software
Exercise 1
Questions: Set 4
47
IBM Software Group | WebSphere software
Exercise 1
Questions: Set 5
48
IBM Software Group | WebSphere software
Exercise 1
Answers: Set 1
Send Cancellation
Notice
! What are the main restrictions for Sequence
Flow?
!A Sequence Flow cannot cross the
boundary of a Sub-Process or the
boundary of a Pool
49
IBM Software Group | WebSphere software
Exercise 1
Answers: Set 2
shape?
! Gateways represent a controlling
mechanism for Sequence Flow. A
diamond in the model shows a place
where Sequence Flow control is needed
50
IBM Software Group | WebSphere software
Exercise 1
Answers: Set 3
51
IBM Software Group | WebSphere software
Exercise 1
Answers: Set 4
Answers: Set 5
Employee
! Draw a Message Flow between one white
box Participant and one black box
Participant
Warning
! See figure to the right
HR Department
! What are the rules for adding marker or Send PW
icons to activities? ... Expiration
Warning
...
! The marker or icon cannot change the
footprint of the activity and cannot
conflict with any standard BPMN
element
53
IBM Software Group | WebSphere software
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
54
IBM Software Group | WebSphere software
BPMN Additional Concepts
Normal Flow
55
IBM Software Group | WebSphere software
BPMN Additional Concepts
Send
Send
Create Order Assemblies &
Confirmation to
Confirmation Invoice to
A Customer
Customer
Check if Manf.
Receive Order Send Rejection
Capacity & Capacity not
from Customer Available to Customer
Parts Available
Order Some Parts
Unavailable
Arrives
Parts
Procured
A
56
IBM Software Group | WebSphere software
BPMN Additional Concepts
Process Levels
Check Credit
Include
History of
No Transactions
Receive Continue
Request Order...
57
IBM Software Group | WebSphere software
BPMN Additional Concepts
Data Flow
Association 1 Association 2
Data Object
Data Object
Association
Seq 1 Task 1 Task 2 Seq 3
Seq 1 Task 1 Seq 2 Task 2 Seq 3 Seq 2
Start Event End Event
Start Event End Event
Sequence Flow and Data Flow are They can be bound together
decoupled
Exclusive
No
Seq 7
Association 1 Seq 4
Task 3 Seq 6 Task 4
Association 2
Data Object
Exception Handling
Electrical Design
No
Design OK?
Locate and Re- Review Previous Update Electrical Test Electrical
use Designs Designs Design Design Yes
New Electrical
Design
Update Plan Electrical Design
(Electrical) [Revised]
Physical Design
[Draft]
Electrical Design
[Draft]
New Physical
Design
Restart Electrical Design
Looping
Task Task
=
Activity Looping: Do-While;
While-Do; Multiple Instance
No
61
IBM Software Group | WebSphere software
BPMN Additional Concepts
Timers
Receive
Confirmation
E-Mail
Announce
Discussion
Issues for
Deadline
Discussion
Delay 6 days from Warning
Announcement
2 Days Send
Cancellation
Notice
62
IBM Software Group | WebSphere software
BPMN Additional Concepts
Ad-Hoc Processes
Write a Book Chapter
Edit Text
Research Notes
Research the
Write Text
Topic
Generate
Graphics
Include Graphics
in Text Finalize Chapter
Organize
References
References
Chapter
[completed]
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
64
IBM Software Group | WebSphere software
Order Inform
^ ^ Accepted
Accept Order
Distribution
Analyze
Order
Accept Validate Order
Order Order Validated
XOR
Inform
Reject Order
Customer
Perform
Credit Check
Reject Order
Reject
Inform
Customer
66
IBM Software Group | WebSphere software
Process Modeling Methodologies
67
IBM Software Group | WebSphere software
Process Modeling Methodologies
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
69
IBM Software Group | WebSphere software
70
IBM Software Group | WebSphere software
Orchestration vs. Choreography
Orchestration
Rejected
Accepted or
Receive Rejected?
Order
Supplier
Ship Order
71
IBM Software Group | WebSphere software
Orchestration vs. Choreography
Choreography
Patient
Send Doctor Send Send Medicine Receive
Receive Appt. Prescription
Request Symptoms Request Medicine
9) need my medicine
10) Here is your medicine
Receptionist/
modeled with Pools)
Doctor
Receive Send Receive
Receive
Doctor Send Appt. Prescription Medicine Send Medicine
Symptoms
Request Pickup Request
! Or a sequence of interaction
(global) types of activities
Arrange
Request Arrange Evaluate Fill Pick-up
Prescription
Doctor Appt. Symptoms Prescription Prescription
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
73
IBM Software Group | WebSphere software
Account Pre-
Exists? Approved? Auto-Approve Transfer
Yes Review for Amount < Money to
Expense
Pre-Approval Employees
$200 Account
Receive Bank
Expense
Report Approved
Otherwise
Approval Approved?
Review by
Supervisor
Notify
Employee of
Rejected Rejection
76
IBM Software Group | WebSphere software
Topics
! BPMN Background
! Basic Concepts
! Exercise 1
! Additional Concepts
! Exercise 2
! Summary
77
IBM Software Group | WebSphere software
Summary
78