Cuerdo.Arazzo (cuerdo v0.1.0)

Copy Markdown

Arazzo workflows runner and validation.

Summary

Functions

Runs the workflowId with the given inputs from the Arazzo document.

Functions

run_workflow(workflow_inputs, workflow_id, document_or_context)

@spec run_workflow(any(), Sting.t(), map() | Cuerdo.Arazzo.Context.t()) ::
  {:ok, Cuerdo.Arazzo.Context.t()} | {:error, Cuerdo.Errors.ExecutionError.t()}

Runs the workflowId with the given inputs from the Arazzo document.

Returns {:ok, context} on success with each step requests and responses, or an {:error, reason}.