# `Mobus.Stepwise.Components.StepwiseEntryAction`
[🔗](https://github.com/fosferon/mobus_stepwise/blob/main/lib/mobus/stepwise/components/stepwise_entry_action.ex#L1)

Executes entry-triggered actions for stepwise workflows.

Runs immediately after a state transition when the new state defines an
action with an `:enter` trigger (or equivalent definition).

# `call`

```elixir
@spec call(map(), map()) :: map()
```

Executes entry-triggered actions after a state transition.

This is an ALF pipeline stage. When `state_changed?` is `true`, delegates
to `StepwiseAction.run_entry_action/1` to execute any action on the new
state that has an `:enter` trigger. Skipped on error status, when
`skip_transition` is set, or when the state did not change.

## Parameters

  * `event` — pipeline event map with `:state_changed?`, `:status`, `:skip_transition`
  * `opts` — ALF stage options (unused)

## Returns

  * Updated event map, potentially with modified runtime from entry action execution.

---

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