LSPS documentation logo
LSPS Documentation
Flows

A Sequence Flow is a connector which establishes an oriented relationship between two elements of a workflow (Activities, Events, and Gateways) and defines their execution order. The workflow is taken following the indicated direction and execution semantics of other workflow objects. In GO-BPMN, only the Normal Flow is supported.

Note: Default Flow is considered a special case of Normal Flow.

Normal Flow

A Normal Flow is a Flow type showing the order of the process Activities it is connecting.

It has a source and a target and indicates the execution behavior.

If the source of a Normal Flow is an Exclusive Gateway, a Normal Flow can be provided a guard. A guard is a Boolean condition (defined using Expression Language), which has to be true, before the Flow is taken. If the guard condition is not true, the respective Normal Flow cannot be used (the token cannot pass the flow).

A source or target of a Normal Flow may be:

  • Event
  • Activity
  • Gateway

On execution, the flow transfers the token from the source to the target. If a guard of the flow is defined (the source has to be an Exclusive Gateway), on token receiving, the Flow guard is evaluated:

  • if true, the token is send to the target (the target is triggered);
  • if false, the token is held by the Flow and the Flow guard is evaluated continuously.

A Normal Flow is depicted as a solid single line with an arrowhead directed toward the target element. If a guard is provided, it is shown in square brackets near the arrow.

NormalFlow.png
Normal Flow with a guard

Properties:

  • Guard defines a condition, which has to be to true if the token is to pass through the Flow.

Default Flows

A Default Flow is a special Normal Flow, which is taken if no other Flow can be used.

The Default Flow represents the last option among the available Flows leaving an Exclusive Gateway. If guards of other Flows prevent them from being taken (they are evaluated to false), the Default Flow is used.

A source element of a Default Flow is an Exclusive Gateway.

The Default Flow has a default marker (slash) show at the beginning of its arrow line.

DefaultFlow.png
Default Flow