Read Variables

The Read Variables node reads flow variables saved by a Write Variables node back into a workflow. 'Special' variables (i.e. those whose name starts 'knime.') are ignored, as these have special meanings in KNIME.

The node provides various options for handling duplicate variables:

  • 'Overwrite existing variable with value from file' - Any existing variables duplicated in the file will have their values overwritten with those from the file
  • 'Ignore the value from the file' - The existing value will be retained, and the value in the file ignored
  • 'Rename variable from the file with uniquified name' - Any variables with duplicate names will have a suffix applied to the values read from the file, e.g. 'RowID(#0)' etc.
  • 'Rename variable from file if different' - Only variables with duplicate names which have different values or types will be renamed on reading. String comparisons ignore the Windows '\r' character.

The node can also be created by dragging-and-dropping a *.variables file on to the workflow editor

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

Options

Selected file
Select a *.variables file. Other file extensions will fail.
Duplicate variable behaviour
Select the appropriate option for duplicate variable behaviour (see above for details)

Input Ports

Icon
An optional port for existing flow variables

Output Ports

Icon
Flow variables with those read from file

Popular Predecessors

Popular Successors

  • Database Reader7 %
  • Variable to Table Row6 %
  • Variable to Table Column4 %
  • Inject Variables (Data)4 %
  • Merge Variables4 %
  • Create File Name3 %
  • Merge Variables3 %
  • CSV Reader2 %
  • Java Snippet2 %
  • Variable to Table Row2 %
  • Google API Connection From Reusable Refresh Token (Catalyst)2 %
  • Java Edit Variable2 %
  • String Manipulation (Variable)2 %
  • Excel Reader2 %
  • String to Path (Variable)2 %
  • Read Variables2 %
  • Write Variables2 %
  • File Reader2 %
  • Send Email2 %
  • DB Table Selector2 %
  • Excel Writer (XLS)2 %
  • Excel Writer2 %
  • Create File/Folder Variables2 %
  • String to Date&Time2 %
  • Table Row to Variable1 %
  • Database Table Selector1 %
  • Database Sampling1 %
  • Recursive Loop End1 %
  • Column Filter1 %
  • Rule Engine1 %
  • Table Row To Variable Loop Start< 1 %
  • CSV Reader< 1 %
  • Row Filter< 1 %
  • Rule-based Row Filter< 1 %
  • Rule Engine Variable< 1 %
  • Variable Expressions< 1 %
  • Credentials Input< 1 %
  • Image Reader< 1 %
  • Flow Variable IF Switch< 1 %
  • URL to File Path< 1 %
  • CSV Writer (deprecated)< 1 %
  • List Files (deprecated)< 1 %
  • Table Creator< 1 %
  • Random Forest Learner< 1 %
  • GroupBy< 1 %
  • SDF Reader< 1 %
  • MySQL Connector< 1 %
  • Math Formula< 1 %
  • Text Output< 1 %
  • Python Script (2⇒1)< 1 %
  • Twitter Search< 1 %
  • XML Reader< 1 %
  • Bing Ads Initialization Step Z - Access and Refresh Tokens (Catalyst)< 1 %
  • PE ODS< 1 %
  • Flow Variable IF Switch (Flow Variable Value)< 1 %
  • Memory Use< 1 %
  • Envision Reader< 1 %
  • String to URI< 1 %
  • URL to File Path (Variable)< 1 %
  • Wait...< 1 %
  • Catch Errors (Var Ports)< 1 %
  • Variable to Table Row< 1 %
  • Database Writer< 1 %
  • Database Looping< 1 %
  • Database Connector< 1 %
  • CSV Writer< 1 %
  • Table Reader< 1 %
  • Table Writer< 1 %
  • Table Reader< 1 %
  • Table Writer< 1 %
  • Loop End< 1 %
  • Counting Loop Start< 1 %
  • Chunk Loop Start< 1 %
  • Generic Loop Start< 1 %
  • Variable Loop End< 1 %
  • Gradient Boosted Trees Learner< 1 %
  • String Manipulation< 1 %
  • Rule-based Row Splitter< 1 %
  • CASE Switch Variable (Start)< 1 %
  • Amazon S3 Connection< 1 %
  • Component Output< 1 %
  • MySQL Connector< 1 %
  • DB Query Reader< 1 %
  • DB Table Creator< 1 %
  • Call Local Workflow (Row Based)< 1 %
  • Excel Reader (XLS) (deprecated)< 1 %
  • Excel Reader (XLS)< 1 %
  • Excel Sheet Appender (XLS) (deprecated)< 1 %
  • Java IF (Table)< 1 %
  • Google Analytics Query< 1 %
  • String Input< 1 %
  • Table View< 1 %
  • Container Input (Table)< 1 %
  • JSON Input< 1 %
  • JSON Path< 1 %
  • Python Script (1?1)< 1 %
  • Python Script< 1 %
  • R Snippet< 1 %
  • GET Request< 1 %
  • POST Request< 1 %
  • String to Date/Time< 1 %
  • ChEMBLdb Connector< 1 %
  • Text Classifier Learner< 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.