Workflow Tasks
Execute Workflow
Inputs:
workflowId
- The ID of the workflow to execute. EitherworkflowId
orworkflowName
must be provided.workflowName
- The name of the workflow to execute. EitherworkflowId
orworkflowName
must be provided.executionMode
- The execution mode of the workflow. EitherSync
orAsync
. 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"