View Source wfnet (wfnet v0.1.0)
Summary
Functions
get status info from the server
load a workflow from file.
load a workflow from a list of tasks.
restart the application
run the currently loaded workflow.
start the application.
stop the application.
Tell the server that a task has completed.
Types
-type task_data() :: term().
-type task_id() :: integer().
-type task_type() :: wfenter | wftask | wfands | wfandj | wfxors | wfxorj | wfexit.
Functions
-spec info() -> term().
-spec load_file(file:name_all()) -> ok | {error, term()}.
-spec load_wf([task()]) -> ok | {error, term()}.
-spec restart() -> ok | {error, term()}.
-spec run_wf() -> ok | {error, term()}.
-spec start() -> ok | {error, term()}.
-spec stop() -> ok | {error, term()}.
-spec task_done(integer(), term()) -> ok | {error, term()}.