Pattern-based Analysis of the Control- flow Perspective of UML - - PowerPoint PPT Presentation

pattern based analysis of the control flow perspective of
SMART_READER_LITE
LIVE PREVIEW

Pattern-based Analysis of the Control- flow Perspective of UML - - PowerPoint PPT Presentation

Pattern-based Analysis of the Control- flow Perspective of UML Activity Diagrams Petia Wohed UHP (SU/KTH) Wil M.P. van der Aalst TUE & QUT Marlon Dumas QUT Arthur H.M. ter Hofstede QUT Nick Russell QUT CRICOS No. 00213J Queensland


slide-1
SLIDE 1

Queensland University of Technology

CRICOS No. 00213J

Pattern-based Analysis of the Control- flow Perspective of UML Activity Diagrams

Petia Wohed Wil M.P. van der Aalst Marlon Dumas Arthur H.M. ter Hofstede Nick Russell UHP (SU/KTH) TUE & QUT QUT QUT QUT

slide-2
SLIDE 2

CRICOS No. 00213J

a university for the world

real

R

Background

The upgrade of UML 1.4 to version 2.0

Focus

UML 2.0 Activity Diagrams

Analysis framework

Workflow patterns: the Control-flow perspective

Contribution

Identification of limitations of UML AD 2.0 Providing elements of reusable knowledge Pointing out ambiguities in the specification

slide-3
SLIDE 3

CRICOS No. 00213J

a university for the world

real

R

Oct 2005 Data Patterns - 40

  • N. Russell

A.H.M. ter Hofstede

  • D. Edmond

W.M.P. van der Aalst

Data representation and handling in a process ER’2005 June 2005 Resource Patterns - 43 Resource definition and work distribution in a process

  • N. Russell

A.H.M. ter Hofstede

  • D. Edmond

W.M.P. van der Aalst

CAiSE’2005 Control Flow Patterns - 20

W.M.P. van der Aalst A.H.M. ter Hofstede

  • B. Kiepuszewski

A.P. Barros

The ordering of activities in a process 2000 CoopIS’2000, DAPD’2003

The Workflow Patterns Framework

time

www.workflowpatterns.com

These perspectives follow S. Jablonski and C. Bussler’s classification from: Workflow Management: Modeling Concepts, Architecture, and Implementation. International Thomson Computer Press, 1996

slide-4
SLIDE 4

CRICOS No. 00213J

a university for the world

real

R

COSA FLOWer Eastman Meteor Mobile I-Flow Staffware InConcert Domino Workflow Visual Workflow Forte Conductor MQSeries/Workflow SAR R/3 Workflow Verve Workflow Changengine

Oct 2005 Data Patterns - 40 June 2005 Resource Patterns - 43 Control Flow Patterns - 20 2000 time

XPDL, BPEL4WS, BPML, WSFL XLANG, WSCI, UML AD 1.4 Staffware WebSphere MQ FLOWer COSA iPlanet XPDL, BPEL4WS Staffware MQSeries FLOWer COSA BPEL4WS E v a l u a t I

  • n

s

L a n g u a g e D e v e l o p m e n t: YAWL (Yet Another Workflow Language)

www.workflowpatterns.com

The Workflow Patterns Framework

slide-5
SLIDE 5

CRICOS No. 00213J

a university for the world

real

R

Impact of the Workflow Patterns

Systems inspired or directly influenced by the patterns

FLOWer 3.0 of Pallas Athena Ivolutia Orchestration Bizagi of Vision Software OpenWFE (an open source WFMS) Staffware Process Suite Zebra (an open source WFMS) Pectra Technology Inc.’s tool Alphaflow (an open source WFMS) Life/A&H Claim System by InsuraPro jBpm (a free workflow engine)

Use of the workflow patterns in selecting a WFMS

the Dutch Employee Insurance Administration Office the Dutch Justice Department

Other

Pattern-based evaluations (e.g. ULTRAflow, OmniFlow, @enterprise, BPMN) Citations (50+ academic papers) Education (used in teaching at 10+ Universities) Web site: 190,000+ hits

slide-6
SLIDE 6

CRICOS No. 00213J

a university for the world

real

R

Motivation of the Choice

  • f Analysis Framework
  • The Workflow Pattern Framework is

– Well tested – Provides a sufficient level of granularity for a deep analysis – The most complete and powerful framework existing (to our knowledge) for evaluating the capabilities of a process modelling language

  • The Bunge-Wand-Weber Ontological Framework

– Broader scope, i.e. not specifically focusing on process modelling languages – Coarse-grained

slide-7
SLIDE 7

CRICOS No. 00213J

a university for the world

real

R

The Control-flow Patterns

Basic Control-flow Patterns

  • Sequence
  • Parallel Split
  • Synchronisation
  • Exclusive Choice
  • Simple Merge

Advanced Synchronisation Patterns

  • Multiple Choice
  • Synchronising Merge
  • Multiple Merge
  • Discriminator

Structural Patterns

  • Arbitrary Cycles
  • Implicit Termination

Multiple Instances Patterns

  • MI without Synchronisation
  • MI with a priory Design Time Knowledge
  • MI with a priory Runtime Knowledge
  • MI without a priory Runtime Knowledge

State-based Patterns

  • Deferred Choice
  • Interleaved Parallel Routing
  • Milestone

Cancellation Patterns

  • Cancel Activity
  • Cancel Case
slide-8
SLIDE 8

CRICOS No. 00213J

a university for the world

real

R

WP 16 Deferred Choice

  • Choice made by the environment not the system
  • Essential in workflow context
  • Not widely supported, though its importance seems to be

increasingly recognised (e.g. BPEL)

  • Naturally supported by notations that offer direct support

for the notion of state, e.g. statecharts or Petri nets

slide-9
SLIDE 9

CRICOS No. 00213J

a university for the world

real

R

WP 16 Deferred Choice, cont

Solution in UML 2.0 AD

A

Signal 1 Signal 2

C B

slide-10
SLIDE 10

CRICOS No. 00213J

a university for the world

real

R

WP 18 Milestone

  • The ability to test whether a certain part of the process is

in a certain state

  • Not often supported
  • Naturally supported by notations that offer direct support

for the notion of state, e.g. statecharts or Petri nets

slide-11
SLIDE 11

CRICOS No. 00213J

a university for the world

real

R

WP 18 Milestone, cont

Workaround in UML 2.0 AD

slide-12
SLIDE 12

CRICOS No. 00213J

a university for the world

real

R

Results

nr Pattern 2.0 1.4 nr Pattern 2.0 1.4 1 Sequence + + 11 Implicit Termination +

  • 2

Parallel Split + + 12 MI without Synchronisation +

  • 3

Synchronisation + + 13 MI with a priory Design time Knowledge + + 4 Exclusive Choice + + 14 MI with a priory Runtime Knowledge + + 5 Simple Merge + + 15 MI without a priory Runtime Knowledge

  • 6

Multiple Choice +

  • 16

Deferred Choice + + 7 Synchronising Merge

  • 17

Interleaved Parallel Routing

  • 8

Multiple Merge +

  • 18

Milestone

  • 9

Discriminator +

  • 19

Cancel Activity + + 10 Arbitrary Cycles +

  • 20

Cancel Case + +

slide-13
SLIDE 13

CRICOS No. 00213J

a university for the world

real

R

Recommendations

  • Difficulties in supporting State-based patterns

– Provide the notion of Place (as it exists in Petri nets)

  • No support for MI without a priory runtime knowledge

– Expand the ExpansionRegion notion (e.g., along the lines of the “multiple instance” tasks in YAWL)

  • No support for Synchronizing Merge

– Introduce an OR-join construct (as in YAWL)

slide-14
SLIDE 14

CRICOS No. 00213J

a university for the world

real

R

Conclusions

  • Detailed analysis of control flow perspective of

UML AD 2.0

  • Identified shortcomings and provided related

recommendations

  • Caveat: UML not formally defined
  • Note: The resource and data perspectives of UML

have also been subjected to pattern-based analysis

slide-15
SLIDE 15

CRICOS No. 00213J

a university for the world

real

R

Thanks

  • Questions?