Persisted workflow run state.
A run is the top-level durable record for one workflow execution. It stores the workflow identity, the initial workflow payload, the current step pointer, and any replay lineage needed for later inspection or recovery.
Summary
Functions
Builds a changeset for persisted workflow run state.
Types
@type status() :: String.t()
@type t() :: %SquidMesh.Persistence.Run{ __meta__: term(), context: term(), current_step: term(), id: term(), input: term(), inserted_at: term(), last_error: term(), replayed_from_run: term(), replayed_from_run_id: term(), status: term(), step_runs: term(), trigger: term(), updated_at: term(), workflow: term() }
Functions
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Builds a changeset for persisted workflow run state.