BPE

INTRO

The bpe module contains a subset of BPMN API.

SERVICE

load(string()) -> #process{}

start(#process{},list()) -> {ok,pid()} | {error,any()}.

CONTEXT

process(pid()) -> #process{}.

complete(pid()) -> {complete,any()}.

complete(any(),pid()) -> {complete,any()}.

amend(pid(),any()) -> {complete,any()}.

event(pid(),any()) -> {complete,any()}.

hist(pid()) -> list(#hist{}).

ENV

task(Name::list(),#process{}) -> [tuple()] | tuple().

doc(Record::tuple(),#process{}) -> [tuple()] | tuple().

tasks(#process{}) -> list().

docs(#process{}) -> list().

events(#process{}) -> list().

This module may refer to: TASK