Update Single Selection Widget with Variable


I’m trying to dynamically update a Single Selection Widget with a variable.

As a starting point, I tried concatenating a table with \n as the value delimiter. However, when I turn the concatenated cell into a variable, the line breaks do not survive and all the text appears as one option/row. I’ve also tried using
as the delimiter, but the Single Selection Widget does not appear to recognize it as a break.

Any suggestions would be greatly appreciated!

Hi @sforesti and welcome to the KNIME Community Forum!

To control the Possible Choices option in the Single Selection Widget node you need a flow variable of type array with all possible values. This workflow shows you two options how to create an array flow variable:

Please have a look and let me know in case of any further questions


Hi @Kathrin, that worked perfectly. Thank you so much!

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