Hub
Pricing About
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Community Hub
  • Nodes
  • Flow Variable IF Switch (Flow Variable Value) (deprecated)
NodeNode / Manipulator

Flow Variable IF Switch (Flow Variable Value) (deprecated)

Uncategorized

This node has been deprecated and its use is not recommended. Please search for updated nodes instead.

Like
Copy short link

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.

WARNING: This deprecated version performs reverse lexicographical comparisons for string variables

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

NOTE - Due to the way in which flow variables are handled within KNIME, no matter which the active branch, the flow variable values for any existing flow variables beyond the corresponding "end" node will be those at the top-most port of the "end" node. New variables created in any active branch will retain their correct values. If you need to change the value of existing variables, please either use a new flow variable, or use a variable to tablerow node before a conventional End IF node.

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

Node details

Input ports
  1. Type: Flow Variable
    Input port
    Input port containing flow variable with value to compare
Output ports
  1. Type: Flow Variable
    true
    Active port if comparison is true
  2. Type: Flow Variable
    false
    Active port if comparison is false

Extension

The Flow Variable IF Switch (Flow Variable Value) (deprecated) node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
    Big Data Analytics - Model Selection to Predict Flight Departure Delays on Hive & Spark
    Data blending Data science Machine learning
    +7
    This workflow trains a number of data analytics models on Hadoop and Spark and automatica…
    knime > Examples > 50_Applications > 28_Predicting_Departure_Delays > 02_Scaling_Analytics_w_BigData
    knime
  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Business Hub
© 2023 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits