This node provides the possibility to append an
arbitrary number of
flow variables or modify existing variables using expressions.
For
each variable
that shall be appended or modified a separate expression
is defined.
These expressions can be simply created using predefined
functions
similar to
the
Math Formula
and
String Manipulation
Nodes). Nevertheless there is no restriction on the number of lines
an expression has and the number of functions it uses. This allows
users to create their own complex expressions.
Additionally, intermediate results of functions or calculations can
be stored
within an expression by assigning them to variables
(using
'=').
This allows that these
results can be reused in different parts
of the expression
after they
have been assigned (see Examples).
Note:
the names of these variables must be different to all of the
predefined function identifiers. Otherwise an error will occur.
To change an expression of an output variable it has to
be
selected in the list of expressions. By selecting an expression the
Expression Editor shows up and the user can modify the expression in
the provided text area.
Available flow variables
can
be
accessed
via
the provided method
variable("varName").
For
each expression
the last
computed instruction
will
be returned.
The syntax and grammar of the expressions are based on the
Javascript
Languange
.
Examples:
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.
To use this node in KNIME, install the extension KNIME Column Expressions (Labs) from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!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.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.