from conceptual to executable bpmn process models - bpm...

49
Queensland University of Technology – University of Tartu [email protected], [email protected] From Conceptual to Executable BPMN Process Models A Step-by-Step Method

Upload: vothuy

Post on 06-Mar-2018

274 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Queensland University of Technology – University of Tartu [email protected], [email protected]

From Conceptual to Executable BPMN Process Models A Step-by-Step Method

Page 2: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

What’s this tutorial about?

2

Conceptual process model Executable process model

ATAMO*

* “And Then A Miracle Occurs”

Page 3: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

1. BPM practitioners seeking to bridge business – IT

2. BPM instructors / teachers 3. Business process modeling and automation

researchers Basic knowledge of BPMN assumed

Who’s this tutorial for?

Page 4: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

The BPM lifecycle

4

Page 5: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

The BPM Lifecycle (revisited)

5

Page 6: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

The well-known gap…

6

Page 7: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Conceptual “to-be” process models • are made by domain experts • provide a basis for communication

amongst relevant stakeholders • must be understandable • must be intuitive and may leave room for

interpretation • contain purely a relevant set of process

information

Executable process models • are made by IT experts • provide input to a process

enactment system - BPMS • must be machine readable • must be unambiguous and should

not contain any uncertainties • contain further details that are only

relevant to implementation

The result: two sides of the story

7

“to-be executed” process model

Page 8: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Bridging the gap: one task at a time

1. Identify the automation boundaries 2. Review manual tasks 3. Complete the process model 4. Adjust task granularity 5. Specify execution properties

8

Part I

Part II

Adapted from teaching material of Remco Dijkman, TU/e.

Page 9: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Our running example Customer

Supplier 1

Supplier 2

Seller

9

Page 10: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Our running example

Page 11: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

1. Identify the automation boundaries

Principle: not all processes can be automated. -> Start by identifying each task’s type:

Automated tasks User tasks

2 1

Manual tasks

3

11

Page 12: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

In BPMN: specify task markers

Automated tasks

12

User task Manual task

Page 13: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

In our example… automated user manual

Page 14: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

2. Review manual tasks Principle: if it can’t be seen by the BPMS, it doesn’t exist. -> Find ways to support manual tasks via IT:

• via user task • via automated task

-> Isolate them and automate the rest

14

Page 15: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Alternative: isolate manual tasks

15

Page 16: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Alternative: isolate manual tasks

Segment 1 Segment 2

Segment 3

16

Page 17: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Prescription fulfillment process: • Once the prescription passes the insurance check, it

is assigned to a technician who collects the drugs from the shelves and puts them in a bag with the prescription stapled to it.

• After that, the bag is passed to the pharmacist who double-checks that the prescription has been filled correctly.

• After this quality check, the pharmacist seals the bag and puts it in the pick-up area.

• When a customer arrives to pick up their prescription, a technician retrieves the prescription and asks the customer for their payment.

Assume the pharmacy system automates this process. Identify the type of each task and link manual tasks to the system.

Quiz: let’s consider this process fragment

Page 18: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Possible solution

18

Page 19: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

• Physical data objects • Messages bering physical data objects • Data stores (both physical and electronic) • Pools & lanes • Text annotations

Remove or neglect, depending on BPMS

BPMN elements irrelevant for execution

19

Page 20: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

3. Complete the process model

Principle: exceptions are the rule. -> Add exception handlers

Principle: no data = no decisions, no tasks handover. -> Specify all electronic business objects

20

It happed for real!

Page 21: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

In our example…

21

Page 22: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

In our example…

22

Page 23: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

4. Adjust task granularity

Principle: BPMSs add value if they coordinate handovers of work between resources. -> Aggregate any two consecutive tasks assigned to the same resource -> Refine tasks that are too coarse-grained

23

Page 24: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Look around

24

Candidate tasks for aggregation may not necessarily be consecutive due to a sub-optimal order of tasks in the conceptual model.

Page 25: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

An exception to the rule

25

Page 26: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Our example… Before Step 1 After Step 4

Page 27: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

End of Part I

Page 28: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Queensland University of Technology, University of Tartu [email protected], [email protected]

Part II: the “last mile”

Page 29: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Bridging the gap: one task at a time

1. Identify the automation boundaries 2. Review manual tasks 3. Complete the process model 4. Adjust task granularity 5. Specify execution properties

29

Page 30: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

5. Specify execution properties

-> Process variables, messages, signals, errors -> Task and event variables and their mappings to process variables -> Service details -> Code snippets -> Participant assignment rules and user interface structure -> Task, event and sequence flow expressions -> BPMS-specific: work queues, forms, connectors…

Page 31: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Let‘s take a step back: BPMSs

Page 32: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Business Process Management System

32

Page 33: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Process modeling tool

• To create and modify executable process models (by specifying execution properties)

• To store and retrieve automation solutions from a process model repository

• May import from conceptual process modeling tools

33

Page 34: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Example process modeling tools

34

Bonita Soft Bonita Open Solution IBM Business Process Manager

Page 35: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Execution Engine

• Instantiates executable process models (also called “cases”) • Orchestrates distribution of work items to process participants

and software services in order to execute a business process from start to end

• Logs execution data

35

Page 36: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Worklist Handler

• Imagine it as an “inbox” • Offers work items to process participants and allows

participants to commit to these work items • Handles participants’ work queues and work item priorities • May provide social network capabilities

36

Page 37: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Example worklist handlers

37

Bonita Soft Bonita Open Solution

Page 38: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Administration & Monitoring Tools

• To manage automation solutions • To configure access to system components • To monitor participants availability and performance of

process cases

38

Page 39: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Example monitoring & administration tools

39

IBM BPM Process Admin Console

IBM BPM Process Portal

Perspective BPMOne

Page 40: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

External Services

• Expose a service interface with which the engine can interact • The engine provides the invoked service with the necessary

data it will need to perform the activity for a specific case • Examples: rules engine, email or Twitter notification, DB

connector, CRM connector…

40

Page 41: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Example external services

41 Bosch Visual Rules editor

Page 42: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Evolution of the BPMS Landscape

© BPTrends 42

Page 43: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

BPMS Landscape

43

Big vendors

• IBM BPM • Oracle BPMS • Microsoft

BizTalk, Wf • SAP NetWeaver

BPM • Software AG

webMethods • Pagaystems

PegaRULES

Other closed-source

• Appian BPMS • BizAgi BPM Suite • Bosch inubit

Suite • OpenTex tBPM • Perceptive

BPMONe • Progress Savvion • TIBCO

ActiveMatrix BPM

Commercial open-source

• Bonita Open Solution

• Camunda Fox • Intalio|BPM • JBoss jBPM

Community open-source

• Shark • YAWL

Page 44: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

BPMS classification according to BPMN support

1. Pure BPMN: (re)designed from the ground up to follow the spec to the letter • IBM BPM, Appian BPMS, Camunda Fox

2. Adapted BPMN: use a BPMN skin but rely on

internal representation – predate BPMN • Bonita Open Solution, BizAgi BPM Suite

3. Non BPMN: proprietary language and semantics

• Bosch inubit Suite, BPMOne, YAWL

Page 45: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Let‘s take a look at a concrete BPMS

Page 46: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Cheat sheet

1. Control flow 2. Data flow 3. Resources

> specify sequence flow expressions… > specify data types and data mappings

> specify participants assignment rules, service details...

46

ERP

Senior Finance Officer

FinanceDepartment

Check Invoice

Mismatches

Enter InvoiceDetails

mismatch exists

no mismatches

Block Invoice

Invoice received

Invoice posted

Post Invoice

Invoice blocked

Invoice InvoiceReport

InvoiceInvoice DB

Page 47: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

• Long-awaited BPM textbook • Covers the entire BPM lifecycle • Running examples & questions • 100+ exercises with and

without solutions • Based on BPMN • Available as Springer eBook,

Apple iBook, Amazon… • Chinese translation coming

soon

Want to know more?

Page 48: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

http://fundamentals-of-bpm.org

• Lecture notes • A/V recordings • Quizzes • Tutorials • and more…

Page 49: From Conceptual to Executable BPMN Process Models - BPM …bpm2013.tsinghua.edu.cn/wp-content/uploads/2013/...BPMN-Process … · BPMN Process Models . ... BPM practitioners seeking

Queensland University of Technology, University of Tartu [email protected], [email protected]

That’s it!