WorkflowStem.Types (workflow_stem v0.2.0)

Copy Markdown View Source

Canonical types for the workflow stem.

The stem is the thin-waist contract between:

  • host application (projection + events)
  • workflow_stem (runtime)
  • host adapters (persistence, notifications, capabilities)

Summary

Types

artifact_hash()

@type artifact_hash() :: String.t()

event()

@type event() :: atom() | String.t()

execution_id()

@type execution_id() :: String.t()

ir()

@type ir() :: map()

payload()

@type payload() :: map()

profile()

@type profile() :: :flow | :fsm | :stepwise

reason()

@type reason() :: term()

runtime()

@type runtime() :: map()

runtime_context()

@type runtime_context() :: map()

spec()

@type spec() :: map()

tenant_id()

@type tenant_id() :: String.t()

wait_cfg()

@type wait_cfg() :: map()

workflow_handle()

@type workflow_handle() :: String.t() | atom()