Search K
Appearance
Appearance
The Automations runs a configured automation workflow, managing task dependencies, executing tasks (including parallel branches and loops), handling errors, and returning a final result.
Configure a workflow trigger to kick off execution:
Single Trigger Requirement Each workflow must define exactly one trigger node. This node is responsible for initiating the workflow when activated.
Execution Modes
Workflows can only have a single trigger. When using queued execution, workflows run one at a time in their enqueue sequence.
Returns an Automation Return containing:
Initialization
C:\TEMP\{GUID}.results (stores output data) and dependencyCount (tracks pending dependencies).Trigger Tasks
trigger tasks without dependencies first.UserInputs or data.Enqueue & Run
The internal Enqueue method handles:
taskType == "loop"): Iterate over a collection or numeric range, cloning each child task marked for the next iteration.taskName == "And Operator"): Merge inputs from all completed parents.Callbacks onTaskStarted and onTaskCompleted fire around execution.
Dependency Resolution
AndOperator).Special Tasks
Accepted (202), ending execution early.OK (200) with the provided data payload.Completion & Cleanup
AutomationReturn.Loop tasks require one of:
Per iteration:
LoopItem, IterationIndex, IterationCount, and LoopNodeId.Note: Confirm the naming conventions for loop link labels (
Next/Finished).
taskSuccess == false) cancels remaining tasks.Automation Return (typically a 500 code).QueueWorkflow).DataReturnObject).