Define multiple input variables in one node

Hi Team,

I need to define multiple variables and assign them default values. How can I do it in one node? May be in Java Edit variables node? Can you please show me an example.

I am currently using multiple String Input/Integer Input and using Merge Variables.

thanks in advance for help.

Best regards
Arun

Hi Arun,

one option is to use a combination of two nodes: table creator and a table row to variable node.

Table Creator node:
Create a table with only one row, where the column headers are the variable names and the values in the first row are the default values for your variables.

Table Row to Variable node:
Apply this node to your manually created table.

Please let me know in case of any questions.

Best,
Kathrin

2 Likes

Instead of two nodes Iā€™d raver use Variable Expression node.

Hi izaychik63,

I dont see that node available in 4.1. Should I install any extension? can you please screenshot/simple example.
Thanks in advance.

Arun

You need to install it. Site has plenty of examples on Column Expression node which is close to Variable Expression.

1 Like

Hi @arunknimeuser,

check here for more info on how to install additional nodes:
https://www.knime.com/downloads/update

Br,
Ivan

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.