16
Modeling Service Orchestrations with a Rule-enhanced Business Process Language Milan Milanović 1 , Dragan Gašević 2 , Gerd Wagner 3 , and Vladan Devedžić 1 1 University of Belgrade, Serbia 2 Athabasca University, Canada 3 Brandenburg University of Technology, Germany

Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Embed Size (px)

DESCRIPTION

Presentation of a CASCON 2009 paper: Business process modeling has been a promising direction in developing service compositions, including both service orchestrations and choreographies. This paper fully focuses on the problem of modeling service orchestrations. Despite many promising aspects of using business process modeling (BPM) languages for modeling service orchestrations, this paper aims to demonstrate that: i) best practices (workflow patters) for control flows (primary concern of service orchestrations) are not fully covered in present languages; ii) complete service compositions cannot be completely generated from business process models; and iii) BPM languages have limited support for representing logical expressions, business vocabularies, and business rules, which severely limits their flexibility and expressiveness. To address these challenges, we have integrated business rule mod-eling constructs of the REWERSE Rule Markup Language (R2ML) with the Business Process Modeling Notation (BPMN), resulting in our rBPMN proposal.

Citation preview

Page 1: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Modeling Service Orchestrations with a Rule-enhanced

Business Process LanguageMilan Milanović1, Dragan Gašević2,

Gerd Wagner3, and Vladan Devedžić1

1University of Belgrade, Serbia2Athabasca University, Canada

3Brandenburg University of Technology, Germany

Page 2: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Problem Domain

Process modeling and service composition Orchestrations

Business processes from one participant’s side Choreographies – MODELS 2009

Business processes from a global perspective

Page 3: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Orchestration Modeling

Available languages (e.g., BPMN) Challenges

to support business vocabularies to define message typing to formalize a language for defining conditions to support dynamic changes of business processes

MODELS 2009

Page 4: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Extension of BPMN building on the previous related work

AORML [Taveter, 2004] adding support for vocabularies and rules rules and business processes

everything to be modeled by rules hybrid approaches

definition by metamodeling

MODELS 2009

Approach

Page 5: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Rule-enhanced BPMN - rBPMN support for modeling orchestrations evaluation mechanism – expressiveness

workflow patterns

MODELS 2009

Result

Page 6: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

MODELS 2009

BPMN Language

Submission by BEA, IBM, SAP, and Oracle http://www.omg.org/cgi-bin/doc?bmi/08-02-06

Page 7: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

REWERSE I1 Rule Markup Language with a UML-based graphical concrete syntax

MODELS 2009

Rule Modeling

Page 8: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

REWERSE I1 Rule Markup Language

MODELS 2009

Extension for Rule Models

Page 9: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

MODELS 2009

Workflow Patterns

Exclusive choice pattern

Page 10: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Workflow Patterns

Milestone pattern

Page 11: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

EDOC 2009

On a customer book request, if the requested book is available and its quantity is > 0, send the book available message with book price.

Otherwise, send a book not avilable message.

Page 12: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Book request scenario

Page 13: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Expressiveness comparison Workflow Patterns

Pattern group Pattern Business process

modeling language UML BPEL BPMN AORML rBPMN

Bas

ic c

ontr

ol-

flow

Sequence + + + + +

Parallel Split + + + + +

Synchronization + + + + +

Exclusive Choice + + + + +

Simple Merge + + + + +

Adv

ance

d br

anch

ing

and

sync

hron

izat

ion

Multi Choice - + - + +

Multi Merge - - +/- + +

Discriminator - - - +/- +

Synchronizing Merge - + + - +

Str

uct

ural

Arbitrary Cycles + - + + +

Implicit Termination + + + + +

Mul

tiple

In

stan

ces

MI without synchronization + + + + +

MI with a Priori Design Time Knowledge + + + + +

MI with a Priori Runtime Knowledge + - - + + MI without a Priori Runtime Knowledge - - - + +

Sta

te-

base

d Deferred Choice + + + + +

Interleaved Parallel Routing - +/- +/- - +/-

Milestone - - - - +

Can

cella

tion

Cancel Activity + + + + +

Cancel Case + + + + +

Page 14: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Integration of rules and processes - rBPMN Externalizing business logic in rules Not a language for business analysts

Intermediary betweeninformal (PPT and visio) and technical (SoaML)

Increases the level of agility service interaction and message exchange patterns

MODELS 2009

Conclusion

Page 15: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Future Work

Support for new class of agility of patterns Additional scenarios for other types of rules Verbalization of rules (SBVR) Usability vs. expressivity Transformations into extended BPEL rBPMN model checking (e.g., mCRL2/mCRL)

Page 16: Modeling Service Orchestrations with a Rule-enhanced Business Process Language

Thank you!

Questions?