The Business Process Management Notation

advertisement
Y
A W L
Chapter 13
The Business Process
Management Notation
Gero Decker
Remco Dijkman
Marlon Dumas
Luciano Garçia-Bañuelos
a university for the
real world
R
© 2009, www.yawlfoundation.org
Y
Contents
Y
• BPMN
• BPMN and YAWL
• Modelling aspects in BPMN:
–
–
–
–
Control-flow
Data
Resource
Exception
• Transforming BPMN into YAWL:
–
–
–
–
Control-flow
Data
Resource
Exception
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
2
BPMN
Y
The Business Process Modelling Notation (BPMN)
• Graphical notation for conceptual processes
• Covers control, data, authorization, exception
• Standardized by OMG
• Current version 1.2
more Trackpoints
Issue
Trackpoint
Notice
Log Trackpoint
Order Entry
Create
Acceptance
Certificate
Freight delivered
24 hours
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Initiate
Shipment
Status Inquiry
Y
A W L
3
BPMN and YAWL
Y
BPMN
more
abstract
more
requirements
oriented
more
implemnt.
freedom
more
business
oriented
YAWL
more
concrete
more
implemnt.
oriented
less
implemnt.
freedom
more
technology
oriented
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
4
Modelling with BPMN – Control Flow
Y
Activities
task
collapsed
sub-process
+
loop
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
ad-hoc
sub-process
~+
multi-instance
task
5
Modelling with BPMN – Control Flow
Y
Events
start event
decorations:
message
intermediate
event
error
end event
time
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
6
Modelling with BPMN – Control Flow
Y
Gateways
AND
XOR
Event-based
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
7
Modelling with BPMN – Control Flow
Y
Example
more Trackpoints
Issue
Trackpoint
Notice
Log Trackpoint
Order Entry
Create
Acceptance
Certificate
Freight delivered
24 hours
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Initiate
Shipment
Status Inquiry
Y
A W L
8
Modelling with BPMN – Data
Y
Example
Trackpoints
Trackpoint Order
Entries Log
Trackpoint Notices
Acceptance Certificate
more Trackpoints
Issue
Trackpoint
Notice
Log Trackpoint
Order Entry
Create
Acceptance
Certificate
Freight delivered
24 hours
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Initiate
Shipment
Status Inquiry
Y
A W L
9
Modelling with BPMN – Resource
Y
Example
Carrier
more Trackpoints
Carrier
Admin
Officer
Issue
Trackpoint
Notice
Log Trackpoint
Order Entry
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
10
Modelling with BPMN – Exception
Y
• Exception events
• 'Throw' events
• 'Catch' events
Throw
Catch
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
Exception event
11
Modelling with BPMN – Exception
Y
Example
Ordering
Create
Purchase
Order
Approve
Purchase
Order
Order not
approved
Confirm
Purchase
Order
Order
approved
Modify
Purchase
Order
Order not
approved
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
Order
timed out
12
BPMN to YAWL – Control Flow
Y
Trivial cases
Timeout
/
Receive
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
13
BPMN to YAWL – Control Flow
Y
Non-Trivial cases
• Multiple subsequent gateways
• Multiple start events
• Multiple end events
• Multi-instance tasks
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
14
BPMN to YAWL – Data
Y
• Data is loosely defined in BPMN
• Data handling is strict in YAWL
• Hence, data usage must restricted in BPMN
(to be able to map to YAWL)
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
15
BPMN to YAWL – Data
Y
Restricted usage:
• Define data types in XML Schema
• Define expressions in XQuery
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
16
BPMN to YAWL – Data
Y
Restricted usage
Process
has variables
assignment at
end of task
Task
assignment at
start of task
real
a university
for the
© 2009,
www.yawlfoundation.org
world
has variables
R
Y
A W L
17
BPMN to YAWL – Data
Y
Mapping is now trivial
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
18
BPMN to YAWL – Resource
Y
• Mapped from swimlanes
• Swimlanes are loosely defined in BPMN
Carrier
more Trackpoints
Carrier
Admin
Officer
Issue
Trackpoint
Notice
Log Trackpoint
Order Entry
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
19
BPMN to YAWL – Exception
Y
Throw/catch event
e :=true
B
~e
B
+
e
e
C
C
default: e := false
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
20
BPMN to YAWL – Exception
Y
Timer event
A
B
A
B
e
C
e
C
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
21
BPMN to YAWL – Exception
Y
Rule event
A1
A1
B
A2
+
A2
~e
B
e:=true
e
e
C
C
default: e := false
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
22
Conclusion
•
•
•
•
•
Y
BPMN is used more for conceptual modelling
YAWL is used for workflow modelling
In a process design project BPMN comes before YAWL
BPMN can be mapped to YAWL
This helps in a design step
real
a university
for the
© 2009,
www.yawlfoundation.org
world
R
Y
A W L
23
Download