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
Merge by keyWhen records of two inputs should be joined by key.Await runsWhen the parallel work runs as separate runs.
Example
Ask three suppliers for a price in parallel and continue after 30 seconds with the answers that came back.
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) andpending(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.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Gather branches under Logic, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Control the run
LoopRepeats a group of steps for each record, a set number of times, or while or until a condition holds.Nodes › LogicRun another flowRuns another flow as a reusable sub-flow and continues with its result.Nodes › LogicWaitPauses for a set time before passing records on.Nodes › LogicWait for eventPauses the run until a matching event arrives, then continues with its data.Nodes › LogicSet valueSaves a named value that later steps in the same run can read.Nodes › LogicAssert Data QualityChecks the batch against your rules and stops with precise details when one fails.Nodes › Logic