Use of UML and Model Transformations for Workflow Process Definitions Audris Kalnins, Valdis Vitolins University of Latvia, IMCS Baltic DB&IS '2006, July.

Slides:



Advertisements
Similar presentations
A Workflow Engine with Multi-Level Parallelism Supports Qifeng Huang and Yan Huang School of Computer Science Cardiff University
Advertisements

Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
Process Patterns in BizAGI. Slide 2 Overview Types of events Types of gateways Design patterns list.
Introduction to Control Flow Patterns and BizAgi
MODUL 1 Analisis & Informasi Proses Bisnis (CSA221)
1 Introduction to modeling Process modelling. 2 Where are we? #TitleDate 1Introduction ORM modeling Relational modeling
WebRatio BPM: a Tool for Design and Deployment of Business Processes on the Web Stefano Butti, Marco Brambilla, Piero Fraternali Web Models Srl, Italy.
A university for the world real R © 2009, Chapter 15 The Business Process Execution Language Chun Ouyang Marlon Dumas Petia Wohed.
® IBM Software Group © 2006 IBM Corporation Rational Software France Object-Oriented Analysis and Design with UML2 and Rational Software Modeler 04. Other.
Task-Oriented, Policy Driven Business Requirements Elicitation for Web Services Stephen Gorton Department of Computer Science, University of Leicester,
Introduction to BizAgi. Slide 2 User Interface (Summary) The user interface for BizAgi resembles Office It uses a similar ribbon The Palette contains.
Activity Diagrams [Arlow and Neustadt, 2005] CS 425 / 625 Seminar on Software Engineering University of Nevada, Reno Department of Computer Science & Engineering.
Systems Analysis and Design in a Changing World, Fourth Edition
Chapter 13: Process Specifications Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Business Process Management with Activiti João Silva (CERN, GS-AIS) 21st of October, 2014 BUSINESS PROCESS MANAGEMENT WITH ACTIVITI.
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Department of Computer Science 1 CSS 496 Business Process Re-engineering for BS(CS)
Domain specific languages for Business Process Management: a Case Study Janis Barzdins, Karlis Cerans, Mikus Grasmanis, Audris Kalnins, Sergejs Kozlovics,
DartGrid Browser-based mapping tool of SQL to RDF Point Template Zhejiang University & OpenLink Software.
Process-oriented System Automation Executable Process Modeling & Process Automation.
Chapter 7: The Object-Oriented Approach to Requirements
Basic Concepts The Unified Modeling Language (UML) SYSC System Analysis and Design.
Karolina Muszyńska Based on: S. Wrycza, B. Marcinkowski, K. Wyrzykowski „Język UML 2.0 w modelowaniu SI”
OOPSLA 2003 DSM Workshop Diagram Definition Facilities Based on Metamodel Mappings Edgars Celms, Audris Kalnins, Lelde Lace University of Latvia, IMCS,
1 An Analytical Evaluation of BPMN Using a Semiotic Quality Framework Terje Wahl & Guttorm Sindre NTNU, Norway Terje Wahl, 14. June 2005.
BPMN By Hosein Bitaraf Software Engineering. Business Process Model and Notation (BPMN) is a graphical representation for specifying business processes.
Towards Human-Executable Business Process Modeling Janis Barzdins, Edgars Rencis, Agris Sostaks Institute of Mathematics and Computer Science, University.
SOFTWARE DESIGN AND ARCHITECTURE LECTURE 21. Review ANALYSIS PHASE (OBJECT ORIENTED DESIGN) Functional Modeling – Use case Diagram Description.
Formal Analysis of Problem Domain Workflows Uldis Donins Riga Technical University Baltic DB & IS 2012, July 8-11, Vilnius, Lithuania This work.
Building Tools by Model Transformations in Eclipse Oskars Vilitis, Audris Kalnins, Edgars Celms, Elina Kalnina, Agris Sostaks, Janis Barzdins Institute.
Chapter 13: Process Specifications Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Object Management Group (OMG) Specifies open standards for every aspect of distributed computing Multiplatform Model Driven Architecture (MDA)
WSMX Execution Semantics Executable Software Specification Eyal Oren DERI
University of Southern California Center for Systems and Software Engineering Model-Based Software Engineering Supannika Koolmanojwong Spring 2013.
Valdis Vitolins, Audris Kalnins, EDOC 2005 Semantics of UML 2.0 Activity Diagram for Business Modeling by Means of Virtual Machine.
Conceptual Modelling – Behaviour
1 Devon M. Simmonds University of North Carolina, Wilmington CSC450 Software Engineering WorkFlow Modeling with Activity Diagrams.
Web Services Flow Language Guoqiang Wang Oct 7, 2002.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
ICT EMMSAD’05 13/ Assessing Business Process Modeling Languages Using a Generic Quality Framework Anna Gunhild Nysetvold* John Krogstie *, § IDI,
Chapter 11 Activity Diagrams. 2 “Activity diagrams are a technique to describe procedural logic, business processes, and work flows” - M. Fowler An activity.
J.E. Rivera, D. Ruiz-González, F. López-Romero, J. Bautista, and A. Vallecillo MtATL 09 Nantes, July 09.
Object Oriented Analysis & Design & UML (Unified Modeling Language)1 Part VI: Design Continuous Activity Diagams State Diagrams.
Systems Analysis and Design in a Changing World, Fourth Edition
Course: COMS-E6125 Professor: Gail E. Kaiser Student: Shanghao Li (sl2967)
Qusay H. Mahmoud CIS* CIS* Service-Oriented Computing Qusay H. Mahmoud, Ph.D.
Chapter 14: Activity Diagrams November 2015 [Arlow and Neustadt, 2005] CS 425/625 Senior Projects University of Nevada, Reno Department of Computer Science.
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Chapter 5 System Modeling. What is System modeling? System modeling is the process of developing abstract models of a system, with each model presenting.
Chapter 3: Introducing the UML
BPMN.  BPMN will provide businesses with the capability of understanding their internal business procedures in a graphical notation.
7 Systems Analysis – ITEC 3155 The Object Oriented Approach – Use Cases.
© 2009 Artisan Software Tools. All rights reserved. Testing Solutions with UML/SysML Andrew Stuart, Matthew Hause.
1 Hybrid Rule Scheduling in Story Driven Modeling a tool-independent approach by Bart Meyers Principal Adviser: prof. dr. Dirk Janssens Principal Co-Adviser:
IST421: Advanced Systems and Enterprise Integration
Systems Analysis and Design in a Changing World, Fourth Edition
Business Process and Functional Modeling
System Architect support for Business Process Modeling Notation (BPMN)
Unified Modeling Language
Introduction to Control Flow Patterns and BizAgi
Activity and State Transition Diagram
Business Process Measures
Chapter 10: Process Implementation with Executable Models
Software Engineering Chapter 5 (Part 3) System Modeling Dr.Doaa Sami.
Service-centric Software Engineering
Chapter 14: Activity Diagrams
BPMN - Business Process Modeling Notations
Chapter 14: Activity Diagrams
Execute your Processes
Chapter 14: Activity Diagrams
Presentation transcript:

Use of UML and Model Transformations for Workflow Process Definitions Audris Kalnins, Valdis Vitolins University of Latvia, IMCS Baltic DB&IS '2006, July 3-6, Vilnius, Lithuania

Agenda ● Current workflow modeling topics  Required aspects of workflow definition  Workflow definition languages  MDD approach with model transformations as a novel solution in business modeling area ● Adjusting UML Activity Diagram for workflow definition  AD subset for workflow definitions, Workflow Profile for AD ● BPMN diagrams as another notation for workflows  BPMN subset, adjustments and additions ● Demo  AD to BPMN transformation ● Conclusion

Current workflow modeling topics ● Workflow systems:  have become completely distributed and global,  rely on web services as an implementation platform,  converge with ERP and EAI systems,  but till have to support humans in their business activities. ● Many different authorities:  bunch of organizations (W3C, WfMC, OMG, OASIS, AIM,...),  heap of standards (UML, BPMN, BPEL, WSCL, WSCI, ebXML,...). ● Only two of these standards provide an easy readable graphical notation for workflow processes:  UML Activity Diagrams (AD) and  Business Process Modeling Notation (BPMN), therefore as a proof of technique AD and BPMN have been chosen.

“Workflow complete" workflow system requirements ● Adequate description of the control structure of the process – support for branching, decisions, parallelization, synchronization and loops. ● Possibility to model data flows and to base decisions, looping and branching on process data. Process data should support rich data structures. ● Possibility to define different types of tasks: a) for invocation of a workflow subprocesses, b) automated tasks, which are either executed by workflow engine directly (Script Task), or by some sort of automated software service (Service Task, e.g. for Web services), c) tasks where a human performer performs the task with the assistance of a software application (User Task), d) tasks which are expected to be performed without aid of the workflow system (Manual Task). ● Resource management – mainly, the definition and management of human task performers.

AD subset for workflow definition AD notation has a vast majority of features, most of which make no sense for workflow definition. As a suitable subset for workflow modeling the following elements are chosen : ● Activities and OpaqueBehaviors ● CallActions:  CallBehavior, CallOperation actions  SendSignal, AcceptEvent actions ● ObjectNodes:  ActivityParameter nodes  Input and Output pins ● Variables with Read and WriteVariable actions ● Control nodes (Initial, ActivityFinal, FlowFinal, Fork, Join, Decision, Merge) ● Control and Object Flows ● ActivityPartitions, Interruptible Regions, Loop Nodes Classes which have Workflow Profile (AD stereotypes) applied, are described in the format Class – Stereotype.

AD subset for workflow definition Activities and Opaque behaviors Activity - MainProcess represents an activity which is a separate workflow process Behavior - ManualAction, UserAction, ScriptAction - stereotypes for definitions of manual, software-supported manual and automated tasks Operation - ServiceOperation stereotype for web service operation Manual actions User actions Script actions Service actions (external automated tasks – web service operations ir our case)

AD subset for workflow definition CallActions: CallBehavior, CallManual, CallSript, CallUser, CallOperation Actions CallBehaviorAction – CallManualAction, CallScriptAction, CallUserAction – calls to stereotyped actions CallOperationAction - CallServiceAction is an automated task, which means invoking an interface of an external software component

AD subset for workflow definition SendSignal, AcceptEvent Actions AcceptEventAction - StartAcceptEventAction - a new activity instance is started (createInstance="yes" in BPEL). IntermAacceptEventAction only activates the suspended activity

AD subset for workflow definition ObjectNodes: ActivityParameter nodes InputPins and OutputPins

AD subset for workflow definition Variables, ReadVariable- and WriteVariableActions

AD subset for workflow definition Control nodes: Initial, ActivityFinal, FlowFinal, Fork, Join, Decision, Merge

AD subset for workflow definition Control and Object Flows

AD subset for workflow definition ActivityPartitions, Interruptible Regions, Loop Nodes Partition - Performer represents a performer of a manual or user action LoopeNode - ForEach with heavyweight extension – new ForEach.collection association for loop iterator.

Fragment of the AD metamodel source of model transformation yellow – original classes orange - stereotypes

BPMN subset for workflow definition Similarly to the AD, BPMN also has unnecessary redundancy. Therefore as a suitable subset the following elements (which have natural semantics and mapping to BPEL) were chosen:  All types of Activities User, Service, Manual, Script Tasks, Embedded and Independent Subrpocesses, LoopActivity  Receive and Send Tasks for for receiving and sending messages in non-interrupt situations  Start and End Events, TimerIntermediate and IntermediateEvents, attached to the boundary of an Activity ("interrupt construct")  All kinds of Gateways  Properties and property Assignments While the implicit BPMN metamodel is quite acceptable, the BPMN graphical notation lacks some important elements. Therefore for some elements new graphical notation is introduced.

BPMN subset for workflow definition Following the BPMN style the following elements are used in model, but are not shown graphically:  Input/output Messages for tasks (analogs to AD pins),  Implementation related aspects (e.g., service operation, URI). Dropped elements:  Intermediate events other than timer and "interrupt construct",  Data Objects,  MessageFlows BPMN Property it is not sufficient for modeling rich data structures, therefore BPMN is supplemented with UML Class diagram similarly to AD.

BPMN subset for workflow definition All types of Activities: User, Service, Manual, Script, Send, Receive Tasks Independent Subprocess, LoopActivity Task type is shown as task icon: Hand – manual,”S” – script, arrows – service, hand+arrows – user task, loop – loop activity Task performers are shown in another compartment

BPMN subset for workflow definition All types of Activities: Receive and Send Tasks for receiving and sending messages in non- interrupt situations Convex flag – Send task, concave flag – Receive task Similarly to AD, data join criteria are shown as Annotations (an analog to Notes in AD)

BPMN subset for workflow definition All types of Activities: Embedded subproces for interrupt construction

BPMN subset for workflow definition Start, End Events, TimerIntermediate Event, and IntermediateEvents, attached to the boundary of an Activity ("interrupt construct")

BPMN subset for workflow definition Properties and Assignments Property is shown as a rectangle containing name:type Assignment is shown as a thick arrow

BPMN subset for workflow definition All kinds of Gateways

BPMN subset for workflow definition Sequence Flows

BPMN Metamodel Target for model transformation (subtypes for events are not shown)

Transformation as effective solution for AD to BPMN mapping Though graphical presentation looks similar, transformation is not trivial due to conceptual differences between AD and BPMN:... More about MOLA: Tomorrow (July 5) 13.00, Session 4 A (Research Track, Room 1: Auditorium 03), Simple and Efficient Implementation of Pattern Matching in MOLA Tool Pattern part... ForEach loop Loop body Action (create) part Loop variable Rule with Pattern

Demo

Conclusion ● When there is no single standards (for languages, techiques and platforms), only model driven development (MDD) approach with model transformations permits to use all the notations (the most appropriate one for each case). ● For model transformations precise modeling language semantics is necessary. As it was shown with UML AD and BPMN, standards should be adjusted and profiled. ● Metamodel-based generic modeling tools for MDD approach is of high demand, however there is no adequate industry support for that. Therefore development of new generation of metamodel-based and model transformation-ready tool is started at UL IMCS.

Questions and Answers