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.
Kind
control:joinGroupFlow
Credits0.1 credits
Ports out1
How it looks
Settings
| Setting | Required | What it does |
|---|---|---|
| Continue whenmode | Yes | All paths have arrived, Any one has, or a Quorum. |
| How manyquorumCount | No | For Quorum: how many paths must arrive. |
Ports
| Port | The run leaves by it when |
|---|---|
default | Enough 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.
| Value | Holds |
|---|---|
joinContributed | How many paths arrived. |
joinSucceeded | How many of them succeeded. |
joinFailed | How 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
| Code | Means |
|---|---|
JOIN_WITHOUT_COHORT | Nothing upstream splits the run, so there is nothing to join. |
JOIN_BRANCH_ENDED | A 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.
See also
Splits the run into named paths that carry on side by side.
Outone per path you namecontrol:forkRuns the body for every item at once. An empty list leaves by empty.
Outbodyemptycontrol:parallelForEachEnds the run as failed, with a reason that shows in the runs list.
Outnone, it ends the runcontrol:failRun