AshWorkflow.Entities.Emit (AshWorkflow v0.12.0)

Copy Markdown View Source

A signal the workflow fires when a workflow event happens, from the module named by the workflow's signals option.

Declared at workflow level it fires on every state change. On a step it fires when the record enters or leaves that step, and on a transition, timeout or every it fires when that runs.

Summary

Types

t()

@type t() :: %AshWorkflow.Entities.Emit{
  __spark_metadata__: term(),
  fields: [{atom(), atom()}],
  name: atom(),
  on: :enter | :exit | nil,
  values: Keyword.t()
}

Functions

attribute_schema()

step_attribute_schema()