process-flexibility.com

Wednesday, 12 June 2013 15:25

Pattern AP1: INSERT Process Fragment

The Insert Process Fragment pattern can be used to add process fragments to a process schema. There are systems which only allow users to serially insert a process fragment between two directly succeeding activities. By contrast, other systems follow a more general approach, allowing the user to insert new fragments between two sets of activities meeting certain constraints. Special cases of the latter variant include the insertion of a process fragment in parallel to another one (parallel insert) or the association of the newly added fragment with an execution condition (conditional  insert).

Description

A process fragment X is added to a process schema S.

Example

For a particular patient an allergy test has to be added to his treatment process due to a drug incompatibility.

Problem

In a real world process a task has to be accomplished which has not been modeled in the process schema so far.

Design Choices 

in addition to the General Design Choices

C. How is the new process fragment X embedded in the process schema?

  1.  X is inserted between two directly succeeding activities (serial insert)
  2.  X is inserted between two activity sets (insert between node sets)
    1. without additional condition (parallel insert)
    2. with additional condition (conditional insert)

AP1

Implementation

This adaptation pattern can be realized by transforming the high level insertion operation into a sequence of low level change primitives (e.g., add node, add edge)

Animation

View Sequential Animation

View Parallel Animation

View Conditional Animation

Read 975 times
More in this category: Pattern AP13: Update Condition »
 

Get the Book!

book cover small