Content · 1 ICT 1 INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development”...

39
1 1 ICT INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development” Lecture 2: 28.01.2008 Arne-Jørgen Berre ICT Content Lectures and exercices BPMN What is BPMN History of BPMN Litterature on BPMN www.bpmn.org BPMN Concepts BPMN Notation BPMN Examples Book on Process Modeling “Essential Business Process Modeling, Michael Havey, O’Reilly, ISBN 0-596-00843-0

Transcript of Content · 1 ICT 1 INF5120 ”Modellbasert Systemutvikling” ”Modelbased System development”...

1

1ICT

INF5120”Modellbasert Systemutvikling”

”Modelbased System development”

Lecture 2: 28.01.2008Arne-Jørgen Berre

ICT

ContentLectures and exercicesBPMN

What is BPMNHistory of BPMN

Litterature on BPMNwww.bpmn.org

BPMN ConceptsBPMN NotationBPMN Examples

Book on Process Modeling“Essential Business Process Modeling, Michael Havey, O’Reilly, ISBN 0-596-00843-0

2

ICT

Lectures1: 21/1: Introduction to MBSU, MDA, OO and Service/SOA modeling (AJB)2: 28/1: Business Process Modeling (CIM) - with BPMN (AJB)3: 4/2: Metamodeling and UML profiles, MDA technologies (EMF/GMF) – BPMN example (BRE)4: 11/2: Language Engineering and DSL – SOA Example (BRE)5: 18/2: Model transformations with ATL and QVT – and JEE (GO)6: 25/2: SOA Architectures and UPMS (PIM) (AJB)7: 3/3: Method Engineering and Service Modeling/SEMET (BRE)8: 10/3: Code generation with MOFScript and other technologies (GO)

EASTER

9 :31/3:: Service Design and Requirements Engineering (AJB)10: 7/4: PIM and Web Services teknologi (PSM) med WSDL/XML/BPEL (PSM) (BRE, GO)11: 14/4: Model Driven Interoperability (BRE)12: 21/4: Model Driven Interoperability and agent technologies (BRE, Ismar)13: 28/4: Ontologies, Semantic web and Semantic Service Modeling (AJB)14: 5/5: Aspect-oriented Programming and Modeling (ARS)

15: 26/5 Course summaryExam: June 2nd, 2008…AJB – Arne J. Berre, BRE – Brian Elvesæter, GO – Gøran Olsen, ARS – Arnor Solberg

ICT

Obligatory Exercises - 20080: 21/1: No exercise1: 28/1: Eclipse / BPMN tutorial – establishing groups 2: 4/2: EMF og GMF tutorial – groups 3: 11/2: OBLIG 1-a: BPMN modelling – Webshop (CIM) – Group pres. 4: 18/2: Intro to Papyrus for UML and UML profiles, UPMS light in EMF 5: 25/2: OBLIG 1-b: UPMS light i EMF/GMF and UML profile in Papyrus – group pres.6: 3/3: Questions 7: 10/3: OBLIG 1-c: ATL transformation rules from BPMN to UPMS light fpr WebShop - group pres.15/3: Delivery OBLIG 1

EASTER

8: 31/3: Walk through of OBLIG 1 – WebShop Service model finalisation:9: 7/4: Questions10: 14/4: OBLIG 2-a: MOFScript transformation rules from UPMS light to JEE (annotated Java) 11 21/4: Example of JEE deployment for WebShop12: 28/4: OBLIG 2-b: MDI extension - delivery (Essay)13: 5/5: Oblig walk through14 19/5 Old exams

Exam: June 2nd, 2008

3

ICT

PIM

CIM

BPDM, SBVR, EDOC,UPMS,

PIM4SOA, ODM

ATL

PSM

MOFScript

BPMN, POP*, ARIS,ArchiMate,

GERAM, GRAI, Zachman, UEML, B.Rules

BPEL, WSDL, XML, XPDL,OWL-S, WSML, WSDL-S

ADM

ADM

UML profiles andmetamodels for Java

JEE, BPEL, WSDL, XML, XPDL,

OWL-S, WSML, WSDL-S

Code, Java JEE, ….

PlatformIndependent

Model

ComputationalIndependent

Model

PlatformSpecific

Model/Code

MDA CIM, PIM ogPSM/Code

ICT

PIM-K

CIM-KOntologies Bus.Process Bus.Rules Goals NFA/Qualities Org

BPDM, SBVR, EDOC,UPMS,

PIM4SOA, ODM

PSM-K

BPMN, POP*, ARIS,ArchiMate,

GERAM, GRAI, Zachman, UEML, B.Rules. ..

Technologies/Realisation-K

UML profiles andmetamodels for BPEL, WSDL, XML,

XPDL,OWL-S, WSML, WSDL-S

TechnologyReliastion

Code

Information Process Services Rules NFA UI

Data Wflow/Comp Interfaces Rules NFA UI

XML, BPEL/XPDL, WSDL, SWRL, Security, AJAXOWL, OWL-S/WSML WSDL-S, Induction, … QoS

Legacy and New systems/services, ERPs/ESAs

4

ICT

UPMS

Technologies/Realisation

Information Services Process

XML,, Metro/WSDL BPEL/XPDL

OWL,WSML OWL-S/WSML SA/WSML ASM

ODMOntologies

BPMN/BPDMCIM,

BM

PIM

PSM/Code

Persistence API EJB 3.0, Java, JEE 5WSSWSAgentERP

Jack Jack JackSAP SAP SAP

OthersSCA, .Net

BMM/ORG

“Goal modeling”

MODUS - SOHA

ATL

MOFScript

ICT

UPMS

Technologies/Realisation

Information Services Process

XM WSDL BPEL

BPMN/BPDMCIM,

BM

PIM

PSM/Code

Persistence API EJB 3.0, Java, JEE 5WS

INF5120 - Exercises

ATL

MOFScript

5

ICT

BPMN(Business Process

Modeling Notation)

ICT

What is BPMN ?

6

ICT

History for BPMN

ICT

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

, Java

7

ICT

BPMN requirements

ICT

Core Set of Diagram Elements

The core set of modeling elements enable the easy

development simple Business Process

Diagrams that will look familiar to most Business

Analysts (a flowchart diagram)

8

ICT

Complete Set of Diagram Elements, Events

An 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.

ICT

Complete Set of Diagram Elements, Activities, Cont.

A Sub-Process can be in an expanded form that shows the process details of the a lower-level set of activities.

9

ICT

Complete Set of Diagram Elements, Gateways

Gateways 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.

ICT

BPMN Diagram elements

10

ICT

Diagram elementer (2)

ICT

Activities

11

ICT

Task

ICT

Sub-processes

12

ICT

Events

ICT

Start Events

13

ICT

Intermediate Events

ICT

Intermediate events (normal flow)

14

ICT

Intermediate events (linked to Boundary)

ICT

End events

15

ICT

Gateways

ICT

Exclusive Gateways

16

ICT

Exclusive Gateways, based on data

ICT

Exclusive Gateways, based on events

17

ICT

Inclusive Gateways

ICT

Complex Gateways

18

ICT

Complex Gateways

ICT

Parallell Gateways

19

ICT

Conectors

ICT

Sekvens flyt

20

ICT

Conditions in sequece floww

ICT

Default sekvens flow

21

ICT

Message flow

ICT

Associations

22

ICT

Swim lanes

ICT

Pool

23

ICT

Lanes

ICT

Artifacts

24

ICT

Text annotations

ICT

Data objects

25

ICT

Groups

ICT

Extended artifacts

26

ICT

Normal flow

ICT

Link events

27

ICT

Process leves

ICT

Data flow

28

ICT

Exceptions

ICT

Compenations and transacations

29

ICT

Loops

ICT

Timers

30

ICT

Ad hoc processes

ICT

EPC og BPMNEPCEPC

BPMN

31

ICT

Orkestering versus Koreografi

ICT

Orkestrering

32

ICT

Koreografi

ICT

Eksempel

33

ICT

Prosess informasjon

ICT

Forslag

34

ICT

BPMN Eksempler …

ICT

35

ICT

ICT

36

ICT

ICT

37

ICT

Eksempel - legekontorA text description of the choreography was presented as so:1) Patient send a "I want to see doctor" message to the Receptionist 2) Receptionist send a "Are you available ?" message to a a list of Doctors 3) One doctor send a "I'm available" message to the Receptionist. 4) Receptionist send a "I'll book you" message to the Doctor. 5) Receptionist send a "Go see doctor" message to the Patient 6) Patient send a "I feel sick" message to Doctor 7) Doctor send a "Prepare this medicine" message to Receptionist8) Doctor send a "Pickup your medicine and you can leave" message to Patient 9) Patient send a "I need my medicine" message to Receptionist 10) Receptionist send a "Here is your medicine" message to Patient

ICT

38

ICT

ICT

39

ICT

ICT