Serializable state for one suspended declarative workflow.
Runtime-only context is not stored. Pass fresh runtime context when the workflow resumes. The binary format is not authenticated. Deserialize it only from trusted application storage.
Summary
Functions
Restores a workflow snapshot from Erlang external term format.
Returns the current workflow snapshot schema version.
Serializes a workflow snapshot to Erlang external term format.
Types
@type t() :: %Jidoka.Workflow.Snapshot{ context: map(), input: map(), loop_cursor: Jidoka.Workflow.Loop.Cursor.t(), outcomes: map(), schema_version: pos_integer(), steps: map(), workflow: module(), workflow_id: String.t() }
Functions
Restores a workflow snapshot from Erlang external term format.
@spec schema_version() :: pos_integer()
Returns the current workflow snapshot schema version.
Serializes a workflow snapshot to Erlang external term format.