IF Switch (Flow Variable Value)

This Node Is Deprecated — This node is kept for backwards-compatibility, but the usage in new workflows is no longer recommended. The documentation below might contain more information.

This node provides an IF switch which selects the active port based on the comparison of a flow variable with a user-entered value. The comparison method can also be selected. It can be considered to be broadly similar in function to the Java Snippet IF Switch node in the core KNIME implementation, and provides an exact analogue of the equivalent flow variable flow control node.

If numeric variables (double or integer types) are selected, the node will attempt to process the user-entered value as a number. If this cannot be done, then the node will not be executable. An empty string will not be interpreted as a numeric value. Note that integers can not be compared with values where a '.' is present, so '1.0' cannot be interpreted, but '1' can.

For doubles, a threshold is specified in the dialogue. If the variable is within this threshold of the comparison value it will be considered to be equal to it (Applies to =, !=, >= and <= comparisons).

String comparisons are 'lexicographical' - i.e. the sorting order mirrors that in which the strings would be expected to appear in a dictionary.

If the comparison is considered to be 'true', then the top port will be active, otherwise the bottom port will be active

This node was developed by Vernalis Research. For feedback and more information, please contact knime@vernalis.com

Options

Flow variable selection (un-named in dialogue)
Select from the available flow variables
Comparison operator selection (un-named in dialogue)
Select the required comparison operation
Comparison value (un-named in dialogue)
Enter a value
Ignore case
Ignore the case (String comparisons only)
Ignore leading/trailing whitespace
Ignore leading / trailing white-space characters (String comparisons only)
Equality tolerance
The maximum difference between double values within which they will still be considered to be equal

Input Ports

Icon
Input port

Output Ports

Icon
Active port if comparison is true
Icon
Active port if comparison is false

Popular Predecessors

Popular Successors

  • End IF7 %
  • Column Filter5 %
  • IF Switch (Flow Variable Value)4 %
  • Table Row to Variable4 %
  • Rule Engine3 %
  • String Manipulation3 %
  • CSV Writer3 %
  • Group Loop Start3 %
  • Column Appender2 %
  • Column Splitter2 %
  • Loop End2 %
  • Row Splitter2 %
  • Reference Row Filter2 %
  • Joiner2 %
  • Sorter2 %
  • R Snippet2 %
  • Column Rename (Regex)1 %
  • Column Rename1 %
  • Quit WebDriver1 %
  • Cell Splitter1 %
  • String To Number1 %
  • Row Filter1 %
  • GroupBy1 %
  • String Manipulation (Multi Column)1 %
  • Column Expressions1 %
  • Math Formula1 %
  • Excel Writer1 %
  • GET Request1 %
  • Click1 %
  • Find Elements1 %
  • Constant Value Column< 1 %
  • Empty Table Switch< 1 %
  • DB Writer< 1 %
  • Python Script< 1 %
  • Date&Time Shift< 1 %
  • Copy/Move Files (legacy)< 1 %
  • Extract Variables (Data)< 1 %
  • Loop End (Column Append)< 1 %
  • Reference Row Splitter< 1 %
  • Reference Column Resorter< 1 %
  • RowID< 1 %
  • String Manipulation (Variable)< 1 %
  • Rule-based Row Filter< 1 %
  • Java Snippet (simple)< 1 %
  • Path to String< 1 %
  • Python Script (1⇒1)< 1 %
  • Flow Variable IF Switch (Flow Variable Value)< 1 %
  • Inject Variables (Data)< 1 %
  • Table Row to Variable< 1 %
  • CSV Writer< 1 %
  • Table Writer< 1 %
  • Java Snippet< 1 %
  • Recursive Loop Start< 1 %
  • Domain Calculator< 1 %
  • Row Filter (Labs)< 1 %
  • Pivoting< 1 %
  • Ungroup< 1 %
  • CASE Switch End< 1 %
  • Extract Table Dimension< 1 %
  • Send Email< 1 %
  • Variable Expressions< 1 %
  • Excel Reader (XLS)< 1 %
  • Keygraph Keyword Extractor< 1 %
  • String to Path (Variable)< 1 %
  • Tag Cloud< 1 %
  • Columns to JSON< 1 %
  • Moving Aggregation< 1 %
  • XML Row Combiner< 1 %
  • Fingerprints< 1 %
  • RDKit From Molecule< 1 %
  • RDKit Fingerprint< 1 %
  • Regex Extractor< 1 %
  • Frame< 1 %
  • Reference Database Table Exists IF Switch (Legacy)< 1 %
  • Chemical Terms< 1 %
  • MolConverter< 1 %
  • Delete Files< 1 %
  • Unzip Files< 1 %
  • Breakpoint< 1 %
  • Try (Data Ports)< 1 %
  • Variable to Table Column< 1 %
  • Table Row to Variable (deprecated)< 1 %
  • Table Row To Variable Loop Start< 1 %
  • Database Writer< 1 %
  • Database Connector< 1 %
  • CSV Reader< 1 %
  • Loop End (2 ports)< 1 %
  • Chunk Loop Start< 1 %
  • Generic Loop Start< 1 %
  • Recursive Loop Start (2 ports)< 1 %
  • Add Empty Rows< 1 %
  • Concatenate< 1 %
  • Concatenate (Optional in)< 1 %
  • Column Appender< 1 %
  • Extract Column Header< 1 %
  • Column Merger< 1 %
  • Cross Joiner< 1 %
  • Table Validator< 1 %
  • Reference Column Filter< 1 %
  • Missing Value Column Filter< 1 %
  • Joiner< 1 %
  • Normalizer< 1 %
  • Missing Value< 1 %
  • Numeric Row Splitter< 1 %
  • Top k Selector< 1 %
  • Unpivoting< 1 %
  • Rule Engine (Dictionary)< 1 %
  • Single sample t-test< 1 %
  • CASE Switch Data (End)< 1 %
  • CASE Switch Data (Start)< 1 %
  • Cache< 1 %
  • Component Output< 1 %
  • DB Merge< 1 %
  • DB Update< 1 %
  • Call Local Workflow< 1 %
  • External Tool< 1 %
  • Math Formula (Variable)< 1 %
  • Java IF (Table)< 1 %
  • Snowball Stemmer< 1 %
  • Create Temp Folder< 1 %
  • Google Sheets Reader< 1 %
  • Generic JavaScript View< 1 %
  • Scatter Plot (JavaScript)< 1 %
  • Nominal Row Filter Widget< 1 %
  • Image Properties< 1 %
  • Inverter< 1 %
  • Fail in execution< 1 %
  • Date&Time to String< 1 %
  • String to Date&Time< 1 %
  • Date&Time-based Row Filter< 1 %
  • Time Field Extractor (legacy)< 1 %
  • Find Elements< 1 %
  • Select< 1 %

Views

This node has no views

Workflows

Links

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.