Hub
Pricing About
NodeNode / LoopEnd

Recursive Loop End

Workflow ControlLoop Support
Drag & drop
Like

The Recursive Loop node pair enables the passing of data tables from the Recursive Loop End back to the Recursive Loop Start.

The Recursive Loop Start requires initialized tables. These tables are output by the Recursive Loop Start in the first iteration of the loop.

The tables received by the corresponding Recursive Loop End are passed back to the Recursive Loop Start node. Starting with the second iteration, the Recursive Loop Start node outputs the data as received by the Recursive Loop End.

You can add more recursion input tables and collector input and output tables using the “…” menu. The number of recursion ports must be the same as the number of recursion ports of the corresponding Recursive Loop Start node. Recursion and collector ports are independent of each other. The collection ports are always listed first.

The loop runs until one of the three stopping criteria is met:

  • Maximum number of iterations: to ensure no endless loop is created, the loop will end after the set number of iterations.
  • Minimal number of rows: to ensure enough rows are present for processing, the loop stops if one of it's recursion input tables contains less rows than the set minimum. This minimum can be set for each recursion input table individually.
  • End loop with variable: the loop ends if the option is enabled and the value of the selected variable equals “true”.

The data passed to the collector ports is collected and passed to the n respective output ports. The data at the recursion ports (all ports after input port n) is returned to the Recursive Loop Start node.

External resources

  • KNIME E-Learning Course: Section 7.2. Re-executing Workflow Parts: Loops

Node details

Input ports
  1. Type: Table
    Collecting data
    Data to be collected for the output.
  2. Type: Table
    Recursion data
    Data to be passed back to loop start.
Output ports
  1. Type: Table
    Collected data
    The rows collected from the corresponding collector port.
Collector (Dynamic Inport)
Data to be collected for the output.
  1. Type: Table
Recursion (Dynamic Inport)
Data to be passed back to loop start.
  1. Type: Table
Collector (Dynamic Outport)
The rows collected from the corresponding collector port.
  1. Type: Table

Extension

The Recursive Loop End node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits