Reference helpers for declarative Jidoka.Workflow data wiring.
Refs keep workflow steps data-driven. A step describes the data it needs; the workflow runtime resolves that data from workflow input, runtime context, prior step output, or explicit static values.
Summary
Functions
Returns the first resolved value that is not nil.
References runtime side-band workflow context.
References a prior step output.
References a field or path inside a prior step output.
References the current map item index. Only valid inside a map step input.
References a top-level workflow input field.
References the current map item. Only valid inside a map step input.
References the current reduce item list. Only valid inside a reduce step input.
References the zero-based loop iteration. Only valid inside a loop input.
References the current loop state. Only valid inside a loop input.
References a prior step output, returning nil when the step output is missing or skipped.
References a field or path inside a prior step output, returning nil when missing or skipped.
Marks a static value explicitly.
Types
@type t() :: {:jidoka_workflow_ref, :input, atom() | String.t()} | {:jidoka_workflow_ref, :from, atom(), nil | [atom() | String.t()]} | {:jidoka_workflow_ref, :maybe_from, atom(), nil | [atom() | String.t()]} | {:jidoka_workflow_ref, :context, atom() | String.t()} | {:jidoka_workflow_ref, :value, term()} | {:jidoka_workflow_ref, :coalesce, [term()]} | {:jidoka_workflow_ref, :item} | {:jidoka_workflow_ref, :index} | {:jidoka_workflow_ref, :items} | {:jidoka_workflow_ref, :loop_state} | {:jidoka_workflow_ref, :iteration}
Functions
Returns the first resolved value that is not nil.
References runtime side-band workflow context.
References a prior step output.
References a field or path inside a prior step output.
@spec index() :: t()
References the current map item index. Only valid inside a map step input.
References a top-level workflow input field.
@spec item() :: t()
References the current map item. Only valid inside a map step input.
@spec items() :: t()
References the current reduce item list. Only valid inside a reduce step input.
@spec iteration() :: t()
References the zero-based loop iteration. Only valid inside a loop input.
@spec loop_state() :: t()
References the current loop state. Only valid inside a loop input.
References a prior step output, returning nil when the step output is missing or skipped.
References a field or path inside a prior step output, returning nil when missing or skipped.
Marks a static value explicitly.