Flow Logic
The wfa.flowLogic namespace provides control flow operators for branching, looping, and flow control within Flow and Subflow bodies.
The wfa.flowLogic namespace provides control flow operators for branching, looping, and flow control within Flow and Subflow bodies.
The wfa (Workflow Automation) namespace provides the core building blocks for defining Flows and Subflows. Use wfa.trigger() to start a flow, wfa.action() to execute built-in actions, and wfa.flowLogic for control flow (if/elseIf/else, forEach, doInParallel, tryCatch, appendToFlowVariables).
Flow logic constructs control how a flow executes -- branching, looping, and termination. They are invoked from inside a flow or subflow body via wfa.flowLogic.*.