TASK

INTRO

The bpe_task module provides tasks handling functionality (receive, send, user, manual).

TASKS

The list of supported tasks.

FLOWS

The list of supported flows.

CALLBACK API

BPE allows you to bind on sequenceFlow and its from and to fields by defining action/2 function in your module.

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