DocsNodesFlowWait for paths

Wait for paths

Waits for the paths of a Split into paths or For each, in parallel, then lets one run carry on. Choose whether it waits for all of them, the first, or a number.

Kindcontrol:join
GroupFlow
Credits0.1 credits
Ports out1

How it looks

Settings

SettingRequiredWhat it does
Continue whenmodeYesAll paths have arrived, Any one has, or a Quorum.
How manyquorumCountNoFor Quorum: how many paths must arrive.

Ports

PortThe run leaves by it when
defaultEnough paths arrived. Exactly one carries on; the others end here.

What it adds to the run

Later nodes can read these, in a condition or as {{name}} in a text field.

ValueHolds
joinContributedHow many paths arrived.
joinSucceededHow many of them succeeded.
joinFailedHow many failed. A failed path still counts as arriving.
A path that never arrivesA path that ends before Wait for paths, at an End or a port with nothing connected, sits it out. With All that fails the run; with Any or Quorum the run fails only once the rest can no longer make up the number.

Problems you might see

CodeMeans
JOIN_WITHOUT_COHORTNothing upstream splits the run, so there is nothing to join.
JOIN_BRANCH_ENDEDA path ended without reaching Wait for paths, and it can no longer continue.

Problems found when you publish stop the publish and point at the node. Problems while a run is going fail the node, and its On failure setting decides what happens next. See the error codes for the API's own.