Shapes

Control the run

Gather branches

Waits for the branches that lead into it and passes on what each delivered, with an optional deadline.

Nodes › LogicOpen in Neblex
Good for
Parallel branches with a deadline
Role
Works on the records in a flow
Find it in
Nodes › Logic

When to use it

  • Several systems are asked in parallel and the flow should continue with whatever answered in time.
  • Failed branches should be listed rather than failing the flow.
  • Results of different branches should arrive together.

Reach for something else when

Example

Ask three suppliers for a price in parallel and continue after 30 seconds with the answers that came back.

  1. HTTP request
  2. Gather branches
  3. Sort

How it works

Settings
Deadline (seconds) (optional).
Output
One record: branches (each branch's step and its records), failed (the branches that failed, with their errors) and pending (branches that had not finished by the deadline). Without a deadline it waits for every branch; with one it continues when the time is up with whatever has arrived.
Example
Ask three suppliers for a price in parallel and continue after 30 seconds with the answers that came back.
More in the guide

Add it to a flow

  1. Open the flow from Build › Workflows.
  2. Open Nodes and find Gather branches under Logic, or search for it. Click it or drag it onto the canvas.
  3. Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
  4. Run the flow and click the step to see the records it received and produced.