Skip to main content

Workflow Tasks

Execute Workflow

Inputs:

  • workflowId - The ID of the workflow to execute. Either workflowId or workflowName must be provided.
  • workflowName - The name of the workflow to execute. Either workflowId or workflowName must be provided.
  • executionMode - The execution mode of the workflow. Either Sync or Async. Defaults to Workflow execution mode.
  • inputs - The inputs to pass to the workflow.
  • outputs - The outputs to map from the workflow.
task: "Workflow/Execute@1"
name: executeWorkflow
inputs:
workflowId: "00000000-0000-0000-0000-000000000000"
workflowName: "Workflow Name"
executionMode: "Sync" # optional
workflowInputs:
orderNumber: "{{ orderNumber }}"
outputs:
- name: outputs
mapping: "result.outputs"