Recursive Loop End
The Recursive Loop node pair enables the passing of a data table from the Recursive Loop End back to the Recursive Loop Start.
The Loop Start requires an initialized table. This table is output by the Recursive Loop Start in the first iteration of the loop.
The table received by the corresponding Recursive Loop End is 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.
The data passed to port 0 is collected and passed to the output port.
The data in port 1 is returned to the Recursive Loop Start node.
Dialog Options
- Maximal number of iterations
- The loop will stop after these number of iterations, to ensure no endless loop is created.
- Minimal number of rows
- The minimal number of rows passed back to the loop start. If the input contains less rows, the loop ends.
- Collect data from last iteration only
- If this option is checked only the last input to the collecting data port is passed through to the outport. Hence, the data of earlier iterations is discarded.
- End loop
- For this option, use a flow variable of type String with a value of "true" to stop the loop.
- Add iteration column
- Allows you to add a column containing the iteration number to the output table.
Ports
Input Ports
0 |
Data to be collected for the output. |
1 |
Data to be passed back to loop start. |
Output Ports
0 |
The rows collected from the first in port. |
This node is contained in KNIME Base Nodes
provided by KNIME GmbH, Konstanz, Germany.