View Source Ash.Flow (ash v2.0.0-pre.0)

A flow is a static definition of a set of steps to be run.

Flows are backed by executors, which determine how the workflow steps are performed. The executor can be overriden on invocation, but not all executors will be capable of running all flows. As of this writing, the default executor is the only one. It runs all steps in parallel unless values must be provided from one step to another.

Ash.Flow is still in its early days, and is not as stable or complete as the rest of the framework.

See the {{link:ash:guide:Flows}} guide for more.

Link to this section Summary

Link to this section Types

Link to this section Functions

Link to this function

handle_input_template(action_input, input)

View Source
Link to this function

handle_modifiers(action_input)

View Source
Link to this function

remap_result_references(action_input, prefix)

View Source
Link to this function

run!(flow, input, opts \\ [])

View Source
@spec run!(any(), any(), Keyword.t()) :: any()
Link to this function

run(flow, input, opts \\ [])

View Source
@spec run(any(), any(), Keyword.t()) ::
  {:ok, any()} | {:ok, any(), any()} | {:error, Ash.Error.t()}
Link to this function

set_dependent_values(action_input, input)

View Source