0 ×

Variable Condition Loop End

KNIME Base Nodes version 4.3.1.v202101261649 by KNIME AG, Zurich, Switzerland

In combination with a Generic Loop Start node, this node lets you execute the body of the loop until a certain condition on one of the flow variables is met. In the dialog you can choose one of the available flow variables and which condition should cause the loop to finish.

Options

Available variables
In the list you can select one of the available flow variables. Below the list, you can choose, when the loop's execution should be finished, i.e. when the selected variable is, equal, greater, greater or equal, smaller, or smaller or equal than the given value. For string variables only the check for equality is possible.
Collect rows from last iteration
The default is to collect the rows from all the loop's iterations, including the last one after which the loop is stopped. If you de-select this option, the rows from the last iteration are not added to the output table.
Collect rows from last iteration only
If only the rows from the very last iteration should be collected, you have to enable this option.
Add iteration column
Allows you to add a column containing the iteration number to the output table.

Input Ports

Icon
Any datatable

Output Ports

Icon
Collected results from the loop body
Icon
The selected flow variable's values in each iteration

Best Friends (Incoming)

Best Friends (Outgoing)

Workflows

Installation

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

KNIME 4.3

A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

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. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.

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.