Run Function Series
Overview
Run Function Series calls a function defined by Function Def Start and Function Def End on this flow path, in sequence. This node waits until the function finishes, then continues with the function return value as outValue.
Place this node on a trigger path. The function definition stays on its own subgraph.
Use Run Function Parallel instead when the function should run on a separate path. See How function nodes work together.
Input
Function Definition Node
string requiredFunction Def Start node to run.
The picker lists Function Def Start nodes anywhere on the canvas, not only upstream of this node.
The selected Start must have a paired Function Def End so this node's outValue can follow the End return schema.
Output
outValue
objectFunction return value from this call. Structure and field types follow the paired Function Def End Function Return Schema.
This node has no argument fields. Pass data into the function with shared variables, by referencing nodes that already ran on this path from the function body, or through the Start node's Function Arguments Schema. See Arguments and return values.
Flow Behavior
This node always waits. On the same path it jumps to the selected Function Def Start, runs the body through Function Def End, copies the End return onto this node's outValue, then continues this node's default output.
Runtime notes:
- Function Def End does not finish this trigger path. Flow returns here, then continues downstream.
- The body can read nodes that already ran on this path, and can read/write shared variables.
- The body may call other functions (or this one) with Series or Parallel. Nested and recursive calls are allowed, up to depth 8.
- After a successful call, downstream nodes read this node's
outValue, not Function Def End.