Configures an opt-in transition log for a workflow.
When present, AshWorkflow.Changes.RecordEvent appends one row per workflow
event to resource, and the resource gains the state_at/2 and history/1
code interface functions plus the entered_current_state_at calculation.
The log resource itself is user-owned, not generated — see
AshWorkflow.Verifiers.ValidateTransitionLog for the schema it must satisfy.
Summary
Functions
Returns the configured actor capture, or nil if none is configured.
Types
@type t() :: %AshWorkflow.Entities.TransitionLog{ __spark_metadata__: term(), belongs_to_actor: [AshWorkflow.Entities.BelongsToActor.t()], resource: module() }
Functions
@spec belongs_to_actor(t()) :: AshWorkflow.Entities.BelongsToActor.t() | nil
Returns the configured actor capture, or nil if none is configured.