Hub
Pricing About
WorkflowWorkflow

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

PythonSwitchIfThenElse
+2
mlauber71 profile image
Draft Latest edits on 
Oct 9, 2020 2:17 PM
Drag & drop
Like
Download workflow
Workflow preview
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";}

External resources

  • forum entry
  • Meta Collection about KNIME and Python
  • Vernalis KNIME Nodes
  • DB SQLite - switch datase source based on a case when selection
  • META: A meta collection about Loops, Switches, Paths and Flow Variables in KNIME (and some ZIP files)
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.7.1
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.1

    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Python IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.1

    knime
  • Go to item
    Vernalis KNIME NodesTrusted extension

    Vernalis Research Ltd, Cambridge, UK

    Version 1.36.2

    vernalis

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits