View Source WorkflowMetal.Storage.Schema.Case (workflow_metal v0.2.1)
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
Link to this section Summary
Link to this section Types
Specs
id() :: term()
Specs
state() :: :created | :active | :terminated | :finished
Specs
t() :: %WorkflowMetal.Storage.Schema.Case{ id: id() | nil, state: state(), workflow_id: workflow_id() }
Specs
workflow_id() :: WorkflowMetal.Storage.Schema.Workflow.id()