Vous êtes sur la page 1sur 52

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.

pl)

Dept. 1
Start

C
End

Workflow Patterns - WP01 - Sequence - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Dept. 1

Workflow Patterns - WP02 - Parallel Split - Unconditional Split - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Dept. 1

Workflow Patterns - WP02 - Parallel Split - AND Gateway - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Dept. 1

Workflow Patterns - WP02 - Parallel Split - Subprocess Start - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Workflow Patterns - WP03 - Synchronization - AND Gateway - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1
B

Workflow Patterns - WP03 - Synchronization - Subproces End - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Workflow Patterns - WP04 - Exclusive Choice - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

C
Fact that this is simple
merge is caused by
XOR Gateway

Workflow Patterns - WP05 - Simple Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Dept. 1

Workflow Patterns - WP06 - Multi-Choice - OR Gateway - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
B
Dept. 1

Workflow Patterns - WP06 - Multi-Choice- Conditional Flow - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
B

Dept. 1

C
C

Here are synchronized


only tokens that can
reach this point

Workflow Patterns - WP07 - Structured Synchronizing Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Multi-Merge here is effect of


Unconditional flow at A

Workflow Patterns - WP08 - Multi-Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Discrimination here is effect of


Unconditional flow at A

Workflow Patterns - WP09 - Structured Discriminator - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Default

Default
C

g
F

Default

Workflow Patterns - WP10 - Arbitrary Cycles - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Workflow Patterns - WP11 - Implicit Termination - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

A
All B started
Dept. 1
B

When all B instances are


started than go to C without
waiting for end of all B
instances. Number of B
instances is given by Token
or Process

Workflow Patterns - WP12 - Multiple Instances without Synchronization - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Logic of creting of
instances at B

Data is
seting
number of
instances

Dept. 1

Instance B
C
B

Instance C

... N
Instance N

Workflow Patterns - WP13 - MI with a priori Design Time Knowledge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

C
Logic of creting of
instances at B

B1

Under the given condition


instance can be
interrupted at any time
(so can be done 0 times)

Dept. 1

B2

BN

Workflow Patterns - WP14 - MI with a priori Run-Time Knowledge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Logic of creting of
instances at B

Interrupting of this instance

Need for new instances


B1
Dept. 1
B1
B2

B2

B... N
BN

Interrupting of this instance

Workflow Patterns - WP15 - Multiple Instances without a priori Run-Time Knowledge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Timer

C
Message

Dept. 1

D
Condition

E
Signal

F
One of above

G
Some (all definied) of above
Workflow Patterns - WP16 - Deferred Choice - Events - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Workflow Patterns - WP16 - Deferred Choice - Reciving Message Activites - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

B
Dept. 1
End

Start

With atribute for Ad-Hoc


ordering: AdHocOrdering = | Sequential

Workflow Patterns - WP17 - Interleaved Parallel Routing - Ad-Hoc - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

F
Signal you can do D

A
Dept. 1

Signal you can do D

E
Timer
Workflow Patterns - WP18 - Milestone - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort C?
No

Yes

Dept. 1

Path after aborting

Workflow Patterns - WP19 - Cancel Activity - Signal - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort?
No

Dept. 1

Yes

Workflow Patterns - WP19 - Cancel Activity - Terminatiom - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort C?
No

Yes

Dept. 1

E
C1

Path after aborting

C
F
C2

Workflow Patterns - WP20 - Cancel Case - Signal - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort?
No

Yes

A
Dept. 1

Workflow Patterns - WP20 - Cancel Case _ Terminantion - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Yes
A

Dept. 1

No

Workflow Patterns - WP21 - Structured Loop - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Yes
A

No

Workflow Patterns - WP21 - Structured Loop - Post-Test - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Yes
A

Dept. 1
No

Workflow Patterns - WP21 - Structured Loop - Pre-Test - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Signal

Nie
Dept. 1
B

Tak

Workflow Patterns - WP22 - Recursion - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

C
External trigger
(any"light" event)

Workflow Patterns - WP23 - Transient Trigger - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

External trigger
(any"light" event)

Workflow Patterns - WP24 - Persistent Trigger - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort?
No

Yes

A
Dept. 1

E
D
Sygna

Workflow Patterns - WP25 - Cancel Region - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Abort?
No

Dept. 1

Yes

Workflow Patterns - WP26 - Cancel Multiple Instances - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1
needs to be forcibly completed
Number of
instances known
by token or
process

Workflow Patterns - WP27 - Complete Multiple Instance Task - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Blocking until first


token at
discriminator
(XOR merge
gateway)
completed

Workflow Patterns - WP28 - Blocking Discriminator - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Signal

Dept. 1
D

A
Signal

Signal Set

Workflow Patterns - WP29 - Cancelling Discriminator - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1
A

N of M

Workflow Patterns - WP30 - Structured Partial Join - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Blocking until
given nuber
of tokens at
discriminator after
B, C & D
completed

Workflow Patterns - WP31 - Blocking Partial Join - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Signal

Signal
Dept. 1

C
Signal Set

Signal
D

Workflow Patterns - WP32 - Cancelling Partial Join - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Workflow Patterns - WP33 - Generalized AND-Join - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Conditional

Number of instances that must be completed

Workflow Patterns - WP34 - Static Partial Join for Multiple Instances - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Rule

Dept. 1
Number of instances that must be completed

Workflow Patterns - WP35 - Cancelling Partial Join for Multiple Instances - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Expression
C

Dept. 1
When given number of instances
of B is completed than proces goes
to C
All B done

Workflow Patterns - WP36 - Dynamic Partial Join for Multiple Instances - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

A
A
B

Dept. 1

C
D

E
E

Workflow Patterns - WP37 - Local Synchronizing Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

A
A
B

Dept. 1

C
C
E

Workflow Patterns - WP38 - General Synchronizing Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

D
Unblock

Block
Rule

Dept. 1

C
Block
Rule

F
Unblock

Workflow Patterns - WP39 - Critical Section - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

B
End

Start
C

With atribute for Ad-Hoc


ordering: AdHocOrdering = | Sequential

Workflow Patterns - WP40 - Interleaved Routing - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)

Dept. 1

Wait for given


number of tokens

Workflow Patterns - WP41 - Thread Merge - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Rule how much
instances
Dept. 1

3
A

2
1

Workflow Patterns - WP42 - Thread Split - page 1

Created with iGrafx Flowcharter 2011 (www.igrafx.com) by - Piotr Biernacki - MGX Infoservice (www.mgx.com.pl)
Signal
B

Dept. 1

A
Signal
C

Workflow Patterns - WP43 - Explicit Termination1 - page 1