Workflow tecnologies

Post on 21-Jan-2015

1.309 views 0 download

description

 

Transcript of Workflow tecnologies

Workflow and related tecnologiesFrom project to implementation

Corso di formazione gratuito organizzato da Firenze Tecnologia

Azienda Speciale della CCIAA presso Incubatore Firenze nell'ambito delfinanziamento

Ente Cassa di Risparmio di Firenze

http://www.firenzetecnologia.it

1

Workflow and related tecnologies"Corso di formazione gratuito organizzato da Firenze Tecnologia -

Azienda Speciale della CCIAA presso Incubatore Firenze nell'ambito delfinanziamento Ente Cassa di Risparmio di Firenze" -

http://www.firenzetecnologia.it

2

● Studio Associato di consulenti indipendenti attivi nel campo del Knowledge Management e del Workflow

● Tutta la nostra attività è basata su Zope (Free Software Web Application Server) e Plone (Content Management System).

● Supporter tecnologici di e Zope Solution Providers e Large Zope Accounts (Università, Centri di Ricerca, ...)

● Sviluppatori di Zope 3 (workflow group), sviluppatori Plone. Rilasciamo come software libero la maggior parte dei tool e dei prodotti che sviluppiamo (Reflow, OpenSPI, PloneProject, PloneWorkflows, etc.)

● Unici membri Italiani di Zope Europe Association e membri del Plone Business Network.

About us

3

BPMBusiness Process Management

4

● From “data-aware” information systems to “process-aware” information systems.

● To support business processes an enterprise information system needs to be aware of these processes and their organizational context.

● Business Process Management (BPM) includes methods, techniques, and tools to support the design, enactment, management, and analysis of such operational business processes.

● BPM can be considered as an extension of classical Workflow Management (WFM) systems and approaches.

BPMBusiness Process Management

5

● BPM systems can be used to avoid hard-coding the work processes into tailor-made applications and thus support the shift from programming to assembling applications.

● Moreover, process orientation, redesign, and organic growth are supported. (For example, today’s WFM systems can be used to integrate existing applications and support process change by merely changing the workflow diagram.)

BPM: Historical perspective

6

● From applications built around data to applications built around processes

● Today there were more fundamental problems: a unified way of modeling processes was missing and the systems were too rigid to be used by people in the workplace.

● Most of the technical problems have been resolved by now. However, the more conceptual problems remain. Good standards for business process modeling are still missing and even today’s WFM systems enforce unnecessary constrains on the process logic (e.g., processes are made more sequential).

BPM life­cycle

7

Process design

● Any BPM effort requires the modeling of an existing (“as-is”) or desired (“to-be”) process, i.e., a process design. During this phase process models including various perspectives (control-flow, data-flow, organizational, sociotechnical, and operational aspects) are constructed. The only way to create a “process-aware” enterprise information system is to add knowledge about the operational processes at hand.

System configuration

● Based on a process design, the process-aware enterprise information system is realized. In the traditional setting the realization would require a time-consuming and complex software development process. The traditional software development process is replaced by a configuration or assembly process. Therefore, we use the term system configuration for the phase in-between process design and enactment.

BPM life­cycle

8

Process enactment

● The process enactment phase is the phase where the process-aware enterprise information system realized in the system configuration phase is actually used.

Diagnosis

● Process-aware enterprise information system have to change over time to improve performance, exploit new technologies, support new processes, and adapt to an ever changing environment. Therefore, the diagnosis phase is linking the process enactment phase to the a new design phase.

BPM Benefits

9

Company

● cost and performance measurement● quality control● confidentiality and access control● adherence to procedures

Client

● response time● information on case status● service quality● agent accesibility

BPM Benefits

10

Agent

● clear picture of the tasks● information 'at agent' fingertips● automatic access tools● information on context of tasks

Manager

● just in time display of tasks● just enough informations● warning system● measurement and tracking of quality

BPR Business Process Reengineering

11

What is reengineering?

“Reengineering is the fundamental rethinking and radical redesign of business processes to achieve dramatic improvements in critical, contemporary measures of performance such as cost, quality, service and speed.”

Hammer,M., Champy.J., (1993), Reengineering the Corporation: A Manifesto for Business Revolution., Harper Collins, London.

BPR Business Process Reengineering

12

● Prepare for reengineering

● Map and Analyze As-Is process

● Design To-be process

● Implement reengineered process

● Improve continuously

BPR Business Process Reengineering

13

● Prepare for reengineering

● Is BRP necessary? There should be a significant need for the process to be reengineered.

● Consensus on the importance of reengineering (Build Cross functional team)

● Planning for organizational changes (Develop Strategic Purpose)● Understand the expectations of the involved persons (Identify

Customer driven objective)

BPR Business Process Reengineering

14

● Map and Analyze As-Is process

● Create Process and Activity Models● Evaluate time and resource cost of each activity● Identify disconnects (anything that prevent the process to

achieving the desired results) ● Identify value adding processes

BPR Business Process Reengineering

15

Design To-be process: produce alternatives to current situation

● Benchmark processes● Design To-Be processes● Validate To-Be processes● Perform Trade-off Analysis (to choose the better implementation)

BPR Business Process Reengineering

16

Implement reengineered process:

● Remove all oppositions● Prepare a transition plans● Initiate training programs● Implement transition plan

BPR Business Process Reengineering

17

Improve continuously

● Initiate On-going measurement● Review performance against target● Improve process continuously

Workflow Paradigms

18

Workflow Definition:

● The automation of a business process, in whole or part, during which documents, information or tasks are passed from one participant to another for action, according to a set of procedural rules.

(WFMC Definition)

Workflow Paradigms

19

Workflow entity based

Workflow activity based

Workflow Entity Based

20

● A workflow in which the process is centered around a document, that represents the task to be completed.

● The task are assigned by role.

Workflow Entity Based Example

21

Workflow Activity Based

22

● A workflow in which the process is constituted from a set of activities (tasks), these can involve a document exchange or informations, and can be executed in parallel.

● An activity is assigned to a specific user.

Workflow Activity Based Example

23

Workflow Activity Basedcategories

24

● Pure WFM systems● WFM components embedded in other systems● Custom­made WFM solutions● Hard­coded WFM solutions

Workflow Activity Basedcategories

25

Pure WFM systems● At this point in time many WFM systems are available and used in practise. 

Examples of commercial systems include Staffware Process Suite, FileNET BPM Suite, i­Flow, FLOWer, WebSphere MQ Workflow,TIBCO InConcert, and open source systems are Henhydra, OpenWFE, YAWL.

Workflow Activity Basedcategories

26

WFM components embedded in other systems● Many software packages embed a generic workflow component whose functionality 

is comparable to the pure WFM systems. For example, most ERP systems  provide a workflow component. SAP WebFlow is the workflow component of SAP  offering all the functionality typically present in traditional stand­alone WFM products.

Workflow Activity Basedcategories

27

Custom­made WFM solutions● Many organizations, e.g., banks and insurance companies, have chosen not to use a 

commercially available WFM solution but build an organization­specific solution. These solutions typically only support a subset of the functionality offered by the first two categories. Nevertheless, these systems support the definition and execution of different workflows.

Workflow Activity Basedcategories

28

Hard­coded WFM solutions● The last category refers to the situation were the processes are hard­coded in the 

applications, i.e., there is no generic workflow support but applications are coupled in such a way that a specific process is supported. The only way to change a process is to change the applications themselves, i.e., unlike the first three categories there is no component that is process­aware. Note that in these hard­coded system an explicit orchestration layer is missing.

Workflow Activity Basedmodel

29

Petri net

30

Definition:

A Petri net is a triple (P, T , F ):● P is a finite set of places,● T is a finite set of transitions (P T = ),∩ ∅

● F (P × T ) (T × P ) is a set of arcs (flow relation)⊆ ∪

(1) A transition t is said to be enabled if each input place p of t contains at least one token.

(2) An enabled transition may fire. If transition t fires, then t consumes one token from each input place p of t and produces one token for each output place p of t.

Petri net: WF­net

31

Definition:

A Petri net PN = (P, T , F ) is a WF-net (Workflow net) if and only if:

(i) There is one source place i P such that •i = ∈ Ø.

(ii) There is one sink place o P such that o• = ∈ ∅Ø.

(iii) Every node x P T is on a path from i to o.∈ ∪

Petri net: WF­net

32

Tasks are modeled by transitions and causal dependencies are modeled by places and arcs. In fact:

A place corresponds to a condition which can be used as pre- and/or post-condition for tasks.

An AND-split corresponds to a transition with two or more output places,

An AND-join corresponds to a transition with two or more input places.

OR-splits/OR-joins correspond to places with multiple outgoing/ingoing arcs.

Petri netFork Join XOR

33

Petri netFork Join AND

34

Petri net: WF­net

35

Petri net: WF­net with Syntactical Sugar

36

Petri net: Syntactical Sugar

37

BPMN

38

● A notation that is readily understandable, from the business analysts to the technical developers

● A standard graphical notation that ensure a common language

● To show the flow of data between activities

● Applicable only to business processes (not organizational structures, resources, data models and strategy)

BPMN: Core

39

BPMN: Events

40

BPMN: Activities

41

BPMN: Connections

42

BPMN: Gateways

43

BPMN: Swimlane

44

BPMN: Artifacts

45

BPMNFork­Join AND

46

BPMNFork­Join OR

47

BPMNexception handling

48

BPMNexample

49

WfMC: define WfMS

50

● To define "standards"

● A model for workflow management systems

● Interoperability between heterogeonus engines

WfMC: the WfMS model

51

WfMCComponents & Interfaces

52

WfMC: Meta­Model

53

WfMC: Process

54

WfMC: Activity

55

WfMC: Example(with UML notation)

56

Workflow Patterns

57

● Identify flow of execution control:

● sequence● choice● parallelism● synchronization● ....

● Patterns as way to compare workflow engines

Workflow Patterns: problems

58

● Different language semantics

● multiple instances of an activity● loops with one entry and one exit point● explicit termination of activity and process

or not?

Workflow Patterns

59

● Basic control flow

● Branching and synchronization

● Structural

● Multiple Instances

● State-Based

● Cancellation

References

60

● Business Process Management Demystified: A Tutorial on Models, Systems and Standards for Workflow Management - W.M.P. van der Aalst

● Workflow Management in the Internet Age - C. MOHAN

● BUSINESS PROCESS REENGINEERING: A CONSOLIDATED METHODOLOGY - Subramanian Muthu, Larry Whitman, and S. Hossein Cheraghi

● BPMN Fundamentals (slide) - Prepared by Stephen A. White, IBM

● Business Process Modeling Notation (BPMN)

● YAWL: Yet Another Workflow Language - W.M.P. van der Aalst, and A.H.M. ter Hofstede

● Workflow Management Coalition The Workflow Reference Model - David Hollingsworth

● Workflow Patterns - W.P.M van der Aalst, A.H.M ter Hofstede, B. Kiepuszewski, and A.P.Barrose

References

61

● Yet Another Workflow Language: http://www.yawl.fit.qut.edu.au/

● Workflow Patterns: http://is.tm.tue.nl/research/patterns/

● Flash animations of workflow patterns: http://is.tm.tue.nl/research/patterns/flash_animations.htm

● Workflow management coalition: http://www.wfmc.org/

● Business process management initiative: http://www.bpmi.org/

62

Grazie

Riccardo Lemmiriccardo@reflab .it

www.reflab.org - www.reflab.com - www.reflab.it