Icon

Switch - Examples of how to use Case When

Three ways to handle combination of Flow variables from Python and If switches

In one Python environment a Flow Variable for the usage in KNIME will be filled and the results will be used for two If switches.

if($${Ivar_py_value_switch}$$ >0) {return "bottom";}
else {return "top";}

URL: forum entry (27913) https://forum.knime.com/t/to-control-workflow-stream-using-if-switch-using-flow-variable-from-a-python-snippet/27913/2?u=mlauber71
URL: Meta Collection about KNIME and Python https://kni.me/w/AvjrddXKOIoZYLV3
URL: Vernalis KNIME Nodes https://hub.knime.com/vernalis/extensions/com.vernalis.knime.feature/latest
URL: DB SQLite - switch datase source based on a case when selection https://forum.knime.com/t/db-query-case-switch/63990/7?u=mlauber71
URL: META: A meta collection about Loops, Switches, Paths and Flow Variables in KNIME (and some ZIP files) https://hub.knime.com/-/spaces/-/latest/~CET0X2z2VY9oKlYN/

Nodes

Extensions

Links