# `AshWorkflow.Entities.BelongsToActor`
[🔗](https://github.com/team-alembic/ash_workflow/blob/v0.12.0/lib/ash_workflow/entities/belongs_to_actor.ex#L1)

Configures actor capture on a `transition_log`.

When present, `AshWorkflow.Changes.RecordEvent` sets this attribute on every
log row it writes to `context.actor`, following AshPaperTrail's
`belongs_to_actor` precedent rather than the library guessing an actor type.
With `skip_other_actors?: true`, an actor that is not a `destination` struct,
such as a plain-struct system actor, leaves the attribute `nil`.

# `t`

```elixir
@type t() :: %AshWorkflow.Entities.BelongsToActor{
  __spark_metadata__: term(),
  destination: module(),
  name: atom(),
  skip_other_actors?: boolean()
}
```

# `attribute_schema`

---

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