Workflow Tasks
Execute Workflow
Inputs:
workflowId- The ID of the workflow to execute. EitherworkflowIdorworkflowNamemust be provided.workflowName- The name of the workflow to execute. EitherworkflowIdorworkflowNamemust be provided.executionMode- The execution mode of the workflow. EitherSyncorAsync. 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
delayInSeconds: 10 # optional, only for Async execution mode
workflowInputs:
orderNumber: "{{ orderNumber }}"
outputs:
- name: outputs
mapping: "result.outputs"