inf5120 ”modellbasert systemutvikling” ”modelbased system ... · n sae-3 (lecture 10, april 4...

122
Telecom and Informatics 1 INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development” Lecture 10: 04.04.2016 Arne-Jørgen Berre [email protected] or [email protected]

Upload: others

Post on 02-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 1

INF5120”Modellbasert Systemutvikling”

”Modelbased System development”

Lecture 10: 04.04.2016Arne-Jørgen Berre

[email protected] or [email protected]

Page 2: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Course parts (16 lectures)

2

n January – February (1-7) (BAE/WebRatio): n MDE-1: Introduction to INF5120n MDE-2: Modeling structure and behaviour (UML and UML 2.0 and metamodeling) ( B. Hjelle)n BAE-1: Business Architecture – Business Model Canvas - Strategyzer tool. n SAE-1: WebRatio for Mobile App development (Get an App up and running!)n BAE-2: Essence, Scrum, User stories and Use cases 2.0, Backlog, with Someone n BAE-3: BPMN process, VDML and UML Activ.Diagrams, … (MD/EA, Smaply and Balsamiq)n BAE-4: Service Design, AT ONE,Touchpoints, UI, UX, Smaply and Balsamiq (Ragnhild)n Oblig 1: BA Spec, WebRatio App1 (individual) (end of February, March 7th), Agile Scrumn March (8,9) (MDE/IFML/Client-Side): n MDE-3: Model driven engineering – Metamodels, DSL, UML Profiles, EMF, Sirius Editorsn SAE-2: IFML – Interaction Flow Modeling Language, WebRatio advancedn April (10, 11,12,13) (BPMN, SAE/UML/Server-side): n SAE-3 (Lecture 10, April 4th): BPMN and WebRatio BPM platform/Magicdraw BPMNn Oblig 2: Sirius DSL Editor for IFML +/- (indivual), WebRatio/IFML App2 UI (simple) (April 11th )n SAE-4: UML Service Modeling, ServiceML,SoaML, REST, UML 2.0 Composition, MagicDrawn MDE-4: Guest lecture: DSL and ThingML, Franck Fleurey) and Web Meet with project from

Florida Atlantic University, FAU, Boca Raton, FL, USA (at 1700)n SAE-5: MDE transformations, Non Functional requirements – OCL and PLanguagen Oblig 3: SA Spec (More models), WebRatio/IFML App 3 Server (May 2nd)n May (14,15,16): (Bringing it together)n SAE-6: Final WebRatio App demo and discussion day (May 2nd) n MDE-5: Enterprise Architecture, TOGAF, UPDM, SysML – DSLs etc. – Big picturen MDE-6: Conclusions/Summary of the coursen Exam (4 hours), (June 6th)

Page 3: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Relevant Essence-related practicedescriptions

3

• BusinessModelCanvasdesign- Strategyzer• ValueProposition Design- Strategyzer• ATONEServiceDesignWorkshops– Symphonical SomeOne/UpWave• ServiceJourneydesigns– Smaply,• Vocabulary,Terminology,Information,Ontology designs- MagicDraw• UserStoryandUse Cases• Business ProcessModeling with BPMN2.0• UIMockup/Concept designs– Balsamiq• Scrum development practices• IFMLbased developmnet –WebRatio• Graphical Editordesign– Sirius• …..

Seealso http://inf5120.modelbased.net/

Page 4: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Customer Journey & adapted BPMN

4

Page 5: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

OMG Modeling languages and Zachman Framework

5

Data(What)

Function(How)

Network(Where)

People(Who)

Time(When)

Motivation(Why)

Scope(Contexts)

Business(Concepts)

System(Logic)

Technology(Physics)

Component(Assemblies)

List of thingsimportant

to business

List of processesthat the business

performs

List of locationswhich the business

operates

List of organizationsimportant to the

business

List of events/cyclesimportant to the

business

List of businessgoals/strategies

Semantic ModelBusinessProcessModel

BusinessLogisticsSystem

WorkflowModel

MasterSchedule

BusinessPlan

Logical Data Model ApplicationArchitecture

DistributedSystem

Architecture

HumanInterface

Architecture

ProcessStructure

Business RuleModel

Physical Data Model System Design TechnologyArchitecture

PresentationArchitecture

ControlStructure

RuleDesign

Data Definition Program NetworkArchitecture

SecurityArchitecture

TimingDefinition

RuleDefinition

Operation(Instances)

Data Function Network Organization Schedule Strategy

BMM

SBVR

VDM OSMSBVR

DTFV

BPMN

UMLIMM(CWM)

CMPM

SoaML

ODM

UML

SoaML

BPMN

IFML

User interactionService ProcessData

Behaviour

Page 6: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN(Business Process

Model and Notation)See also:

INF5181 - Process improvement and agile methods in systems developmenthttp://www.uio.no/studier/emner/matnat/ifi/INF5181/index-eng.html

andhttp://en.wikipedia.org/wiki/Business_Process_Model_and_Notation#Elements

Page 7: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 7

Page 8: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

The need of process modeling

n Process improvement is created with better understanding, communication, and organization

n Modeling is an important aspect of thesen Modeling translates verbal or tacit understanding into

simple metaphors that assist these objectivesn A metaphor is a way of reducing the dimensions of the

description of a process to a more understandable and visible basis

n Metaphors bridge complex concepts and build an understanding of the relationships between them

Page 9: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Three manners of thinking -Processn Can be defined as an organization of activities that

happen in a series, relevant to a business’s goals and objectives

n At a fundamental level, a process diagram represents a single instance of a process

n For example, a purchase order process reflects an instance of a single purchase order, not an organization processing their work load of purchase orders

Page 10: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Three manners of thinking -Eventn From another perspective, a process is actually a

connected sequence of events that respond to states, causes, and conditions

n In an event-based view, the process is a linkage of the transitions from one processing state to another

Page 11: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Three manners of thinking -Decisionn From yet another viewpoint, all activities and responses to

events should be the result of a conscious decision by the organization.

n The decisions are an assemblage of business rules

n A process model is not merely a scenario;n It is a scenario that exists within the context of the

process, events, and decisionsn All these different perspectives are appropriately

incorporated in a robust process model

Page 12: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Business Process

n A business process is a sequence of activities that carry out a business goaln “A business process is an organized, coordinated flow of activities,

conducted by participants, acting on and deciding with data, information, and knowledge, to achieve a business goal”

Page 13: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Business rules

n A business rule is a mediator of information in computer systems for decision-making process participants, such as managers, employees, and salespeople

n More accurately, from the viewpoint of the business process:n “a business rule is an atomic logic step that uses data and

knowledge to evaluate part of a proposition about a process decision”

n The business rule “meets” the process through the decision – when you change the business rule, you change decision outcome

n Think of a set of business rules as conditions that match data and create conclusions

Page 14: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Business Event

n In a modern process modeling approach, opportunities, conditions, and factors that events must respond to are handled or managed with business eventsn “A business even is an event that is meaningful for conducting

commercial, industrial, and governmental, or trade activities”

n In BPMN, we have start, intermediary, non-interrupting, and end events

n Correspond directly to a process instance

Page 15: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

What is BPMN ?

Page 16: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN example

Page 17: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN 2.0 and SoaML tools today

n BPMN 2.0n Signavio has 2.0 Conversation and Choreography diagrams – a

SaaS solutionn Most BPMN 1.2 are doing stepwise migration, making existing

parts 2.0 compliant

n SoaML (in most UML tools)n Magic Draw (Cameo), Enterprise Architect, IBM RSA/RSM,

Modelio, …

n We will use MagicDraw - Cameo Enterprise Architecture - version in the course in spring 2015

Page 18: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 18

Page 19: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 19

Page 20: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 20

http://www.nomagic.com/products/cameo-business-modeler.html

Page 21: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 21

Page 22: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 22

https://www.webratio.com/learn/learningobject/vacation-request-bpm-tutorial-v-80

Page 23: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 23

Page 24: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 24

Page 25: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics 25

Page 26: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN History

26

n BPMN 1.0 (BPMI) – Mai 2004n BPMN1.x

n BPMN 1.1 (OMG) – Januar 2008n BPMN 1.2 (OMG) – Januar 2009

n BPMN 2.0 final Juni 2010n http://www.omg.org/spec/BPMN/2.0/

Page 27: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

History for BPMN

Page 28: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMI.org Hourglass

Business Environment

Technology Implementation

BP

BPMN

BPEL

Focus � Scope �

Strategy Consultants

Process Designers

System Architects

Software Engineers

Business Analysts

Audiences: Purposes:

Execution

Modeling

Page 29: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN requirements

Page 30: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN Building blocks of the foundationn Some of the concepts are part of the definitions of

business processn “An event-activated flow of coordinated activities, conducted by

participants, and acting on and deciding with data, information, and knowledge that achieve a goal”

n Participant, Activity, Flow, Process event, Data

Page 31: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Participant

n A participant is an actor or a person that interacts in a process

n The actor includes any human, digital, or virtual resource that involved in a business process

Page 32: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Participant examples

“People” participants:n Inventory receipt clerk

inspecting the ordern Employee filling out a

requestn Patient in hospitaln Manager approving a

requisitionn Technician restoring a

disk drive

“System” Participants:n SAP, PeopleSoftn DB servern Rules enginesn A Web servicen A custom-build UIn A telephony queuing

switch

Page 33: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Activity

n An “activity” is work the participant performs with business process

n Is the basic units of process work, can ben Atomic (lowest level, indivisible unit of work)n Non-atomic (involving many steps)

n Process and subprocesses are compound activitiesn In BPMN, the types of process activities include:

n Tasks – is the atomic activityn Subprocesses – is compound activity, might contain other

activities

Page 34: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Activity examples

n An activity can be manual, as a human participant completes the activity, or

n It might be automated by a system participantn Examples:

n Inspecting material deliveryn Restoring a servern Completing contract requisitionn Reviewing and approving a requisitionn Reviewing loan application

Page 35: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Flow

n Is the order (and data) in which the activities or process steps are performed

n Multiple flows might occur within multiple participants roles

n Two types of flows in BPMN diagramn Sequence – defines the order in which activities are

performed for any given process participantsn Sequence flow never occurs between participants in different

poolsn Message – defines the flow of information and message

between participants within a processn Messages never occur within the same pool

Page 36: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Flow: transition

n Describes the hand-off between activitiesn Transition means that one activity has stopped and

another has startedn Transition never occurs between multiple participantsn e.g,a work area with people and workstations for each

person’s activities (tasks)n As each task is completed, the person transitions to the next task

at another workstationn Any communication is an interaction, not a transition

Page 37: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Flow: interaction

n Is the communication between participantsn Interactions occur between two or more participants in the

form of messagen Interactions never occur from one participant back to itselfn Note: a flow from one participant back to itself is an activity

transition, not an interaction

Page 38: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Process Event

n An event is something that happensn A process event defines a point where the process is

either started, stopped, halted, or continuedn Events define occurring activities “of interest”n Participant actions, choices, or activities define or create

eventsn Examples:

n Contract order submittedn DB unavailablen Requisition rejected

Page 39: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Data

n Data shapes in BPMN are artifacts, meaning, or an effect of process events occurring

n Data is never a cause of process activity occurring. Events trigger activity, resulting in data

n Data mostly originates from events, for example:n An airplane is cleared for a final approach. This event is added to

the flight log (data)n The log data is a chorological series of event snapshots

Page 40: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Core Set of Diagram Elements

nThe core set of modeling elements enable the easy

development simple Business Process Diagrams that will

look familiar to most Business Analysts (a flowchart diagram)

Page 41: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Complete Set of Diagram Elements, Events

nAn Event is something that “happens” during the course of

a business process. These Events affect the flow of the Process and usually have a trigger or a result. They can

start, interrupt, or end the flow.

Page 42: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Complete Set of Diagram Elements, Activities, Cont.

nA Sub-Process can be in an expanded form that shows the process details of the a lower-

level set of activities.

Page 43: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Complete Set of Diagram Elements, Gateways

nGateways are modeling elements that are used to

control how Sequence Flows interact as they converge and

diverge within a Process. If the flow does not need to be

controlled, then a Gateway is not needed.

Page 44: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN Diagram elements

Page 45: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Diagram elements (2)

Page 46: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Activities

Page 47: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Task

Page 48: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Sub-processes

Page 49: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Events

Page 50: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Start Events

Page 51: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Intermediate Events

Page 52: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Intermediate events (normal flow)

Page 53: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Intermediate events (linked to Boundary)

Page 54: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

End events

Page 55: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Gateways

Page 56: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Exclusive Gateways

Page 57: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Exclusive Gateways, based on data

Page 58: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Exclusive Gateways, based on events

Page 59: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Inclusive Gateways

Page 60: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Complex Gateways

Page 61: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Complex Gateways

Page 62: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Parallell Gateways

Page 63: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Conectors

Page 64: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Sequence flow

Page 65: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Conditions in sequence flow

Page 66: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Default sequence flow

Page 67: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Message flow

Page 68: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Associations

Page 69: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Swim lanes

Page 70: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Pool

Page 71: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Lanes

Page 72: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Artifacts

Page 73: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Text annotations

Page 74: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Data objects

Page 75: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Groups

Page 76: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Extended artifacts

Page 77: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Normal flow

Page 78: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Link events

Page 79: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Process leves

Page 80: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Data flow

Page 81: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Exceptions

Page 82: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Compenations and transacations

Page 83: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Loops

Page 84: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Timers

Page 85: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Ad hoc processes

Page 86: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

EPC og BPMNEPCEPC

BPMN

Page 87: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Orchestration versus Choreography

Page 88: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Orchestration

Page 89: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Choreography

Page 90: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Example

Page 91: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Process information

Page 92: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Proposal

Page 93: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Sources

n The (beta) BPMN 2.0 specification -http://www.omg.org/spec/BPMN/2.0/

n Bruce Silver – http://www.bpmnstyle.com

n Rick Geneva – http://processmodeling.info

n Stephen White -https://apps.lotuslive.com/bpmblueworks/community/?p=902

n BPMN 0.9, 1.0, 1.1, 1.2, …..

Page 94: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN Examples …

Page 95: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 96: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 97: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 98: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 99: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 100: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Example – doctor’s office

n A text description of the choreography was presented as so:n 1) Patient send a "I want to see doctor" message to the Receptionist n 2) Receptionist send a "Are you available ?" message to a a list of

Doctors n 3) One doctor send a "I'm available" message to the Receptionist. n 4) Receptionist send a "I'll book you" message to the Doctor. n 5) Receptionist send a "Go see doctor" message to the Patient n 6) Patient send a "I feel sick" message to Doctor n 7) Doctor send a "Prepare this medicine" message to Receptionist n 8) Doctor send a "Pickup your medicine and you can leave" message

to Patient n 9) Patient send a "I need my medicine" message to Receptionist n 10) Receptionist send a "Here is your medicine" message to Patient

Page 101: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 102: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 103: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 104: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 105: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Page 106: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN 2.0: Major changes from BPMN1.x

n Notational changesn New diagrams for Choreography and Conversationn New event-types (escalation, …)n Non-interrupting eventsn Event sub-processn Call Activity– replaces linked/reusable activity

n Technical changesn Formal metamodel – specified in UMLn Interchange formats for semantic model interchange (XMI, XSD)n Interchange formats for diagram interchange (XMI, XSD)n XSLT transformations between XMI and XSD formats

Page 107: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Process diagram

n Flowchart view to sequence activities within an organization

n Support the modeling of simple processes

n Enhanced by BPMN to handle more complex concepts, such as exception handling, transactions, and compensation.

Page 108: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Collaboration diagram

n Provides a view of the interactions (flow of messages) between two or more business partners (Participants).

n Collaborations can be combined with Processes to show how the interactions are related to the internal Process activities.

Page 109: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Collaboration diagram example

Page 110: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Conversation diagram

n Allows a modeler to group Collaboration interactions between two or more Participants, which together achieve a common goal, e.g. “negotiate delivery”

n The grouping can be based on business keys such as customer id or shipping id.

Page 111: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Conversation diagram example n Allows a modeler

to group Collaboration interactions between two or more Participants, which together achieve a common goal, e.g. “negotiate delivery”

n The grouping can be based on business keys such as customer id or shipping id.

Page 112: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Corresponding choreography example• Provides a flowchart view to

sequence interactions between Participants

• Choreographies define a “business contract” or protocol to which the Participants agree to

follow during real-time interactions.

Page 113: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Choreography diagram

n Provides a flowchart view to sequence interactions between Participants

n Choreographies define a “business contract” or protocol to which the Participants agree to follow during real-time interactions.

Page 114: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Activity types - visualised

Page 115: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Multi-instance activites - visualised

Parallel Serial

Page 116: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

New Artifact ShapesData Artifact

Data Artifact Collection

Data Artifact Input

Data Artifact Output

Data Source Artifact

Page 117: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

New Event Gatewaysn Current event-based gateway

n Event Based Exclusive Intermediate

n Event Based Exclusive Start Gateway

n Event Based Inclusive Startn Event Based Inclusive Intermediate

Page 118: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Non-interrupting Intermediate Eventsn Boundary intermediate

events in BPMN 1.0-1.2 are interrupting

n BPMN2.0 introduces new non-interrupting intermediate eventsn Boundary eventsn Catching

n Example of use

Page 119: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Non-interrupting Event Sub-process (expanded)

Page 120: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Non-interrupting Event Sub-process (collapsed)

Page 121: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

Interrupting Event Sub-process

Page 122: INF5120 ”Modellbasert Systemutvikling” ”Modelbased System ... · n SAE-3 (Lecture 10, April 4 th): BPMN and WebRatio BPM platform/Magicdraw BPMN n Oblig2: Sirius DSL Editor

Telecom and Informatics

BPMN 2.0Event Gallery