# `SquidMesh.Persistence.StepRun`
[🔗](https://github.com/ccarvalho-eng/squid_mesh/blob/main/lib/squid_mesh/persistence/step_run.ex#L1)

Persisted state for one workflow step execution.

A step run belongs to a workflow run and tracks the step input, output, and
latest error payload for that step within the durable execution history.

# `status`

```elixir
@type status() :: String.t()
```

# `t`

```elixir
@type t() :: %SquidMesh.Persistence.StepRun{
  __meta__: term(),
  attempts: term(),
  id: term(),
  input: term(),
  inserted_at: term(),
  last_error: term(),
  manual: term(),
  output: term(),
  resume: term(),
  run: term(),
  run_id: term(),
  status: term(),
  step: term(),
  updated_at: term()
}
```

# `changeset`

```elixir
@spec changeset(t(), map()) :: Ecto.Changeset.t()
```

Builds a changeset for persisted step run state.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
