API Reference workflow_metal v0.2.1

modules

Modules

GenStateMachine process to present a workflow case.

DynamicSupervisor to supervise all case of a workflow.

All incoming branch are active.

The default join controller.

Defines an executor module.

Use the process registry configured for a WorkflowMetal application.

Defines a behaviour for a process registry to be used by WorkflowMetal.

Local process registration, restricted to a single node, using Elixir's Registry module.

Use the storage configured for a WorkflowMetal application.

Defines the behaviour to be implemented by a storage adapter to be used by WorkflowMetal.

An in-memory storage adapter useful for testing as no persistence provided.

state

State

  • :created: the case is just created, we'll put a token in the :start place
  • :active: the case is running
  • :terminated: the case can be terminated by a user who created it or the system
  • :finished: when there is only one token left in the :end place

:genesis the first token. :termination the last token.

DynamicSupervisor to supervise all tasks of a workflow.

A GenStateMachine to lock tokens and generate workitem.

Some ETS helpers.

The supervisor of a workflow.

DynamicSupervisor to supervise all workitems of a workflow.