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 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 it's input contains less rows than the set minimum.

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 port 0 is collected and passed to the output port.
The data in port 1 is returned to the Recursive Loop Start node.

Options

Maximal number of iterations

The maximum number of iterations the loop will run.

Minimal number of rows

The minimal number of rows required to continue iterating.

End Loop with Variable

Whether the node execution is controlled by a variable, when enabled allows choosing the Flow Variable that ends the loop if it's value equals "true".

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.

Add iteration column

Allows you to add a column containing the iteration number to the output table.

Installation

To use this node in KNIME, install
KNIME Core
from the following update site:

KNIME 4.0

Wait a sec! You want to explore and install nodes even faster? We highly recommend our
NodePit for KNIME
extension for your KNIME Analytics Platform.

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.

Contact

Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well?
Do you think, the search results could be improved or something is missing?
Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com,
follow @NodePit on Twitter,
or chat on Gitter!

Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.

NodePit is the world’s first search engine that allows you to easily search, find and install KNIME nodes and workflows. Explore the KNIME community’s variety. Start mining and follow @NodePit on Twitter.