GATE

INTRO

The BPMN 2.0 bpe_gateway module provides special kind of tasks (vertices) for parallel and exclusive processing (hierarchical traces).

GATES

The list of supported gates.

Gates as Tasks are controlled by sequenceFlows. BPE allows you to bind on sequenceFlow and its from and to fields.

action({request, atom(), atom()}, #process{}) -> {reply, Task, State} | {reply, State} | {error, Message, Task, State} | {stop, Proc}.

Example:

action({request, From, To}, Proc) -> {stop, Proc}.

This module may refer to: BPE