Cyclium.Workflow.StepConfig (Cyclium v0.1.15)

Copy Markdown View Source

Configuration for a single workflow step, accumulated by the Workflow DSL.

Summary

Types

t()

@type t() :: %Cyclium.Workflow.StepConfig{
  actor: module() | binary(),
  audience_target: map() | nil,
  depends_on: [atom()],
  expectation: atom(),
  goal: map() | nil,
  id: atom(),
  input_fn: (map(), map() -> map()) | nil,
  input_map: map() | nil,
  on_outcome: map() | nil,
  requires_approval: boolean(),
  type: :episode | :interactive_conversation
}