ML Wiki
Machine Learning Wiki - A collection of ML concepts, algorithms, and resources.

Workflow Nets/Workflow Patterns

Workflow Patterns in Workflow Nets

Sequence

First task $a$, then task $b$

  • Image

Parallel Split

Tasks $b$ and $c$ are processed in parallel

  • this construction is also called “AND-split”
  • Image

Synchronization

Do $d$ only after both $b$ and $c$ are completed

  • this is a synchronization between two parallel processes
  • this construction is also called “AND-join”
  • Image

Parallel Routing

A combination of Parallel Split and Synchronization

  • Image

Exclusive Choice

after $a$, do $b$ or $c$

  • Image
  • choice in this case depends on the results of the activity $a$
  • here both ‘'’doA’’’ and ‘'’doB’’’ will be active, but we want to fire only one of them, based on the activity $a$

Simple Merge

perform $d$ after $b$ or $c$ finishes

  • Image

Alternative Routing

a combination of Exclusive Choice and Simple Merge

  • Image

Deferred Choice

When the choice is deferred to the point when we execute something

  • for Petri Nets, visually looks identical to Exclusive Choice
  • Image

Deferred Choice vs Exclusive Choice

  • in Exclusive Choice after execution of $a$ you already know what activity to run
  • but for the deferred choice there’s a race condition between the activities

Sources