Hub
Pricing About
WorkflowWorkflow

Storing a Data File inside the Workflow Data Area

Relative pathWrong file pathAttach dataStore data insideExport local workflow
+3
paolotamag profile image
VersionlatestLatest, created on 
Oct 24, 2023 2:56 PM
Drag & drop
Like
Download workflow
Workflow preview
In order to export/deploy/share your workflow accessing data from a file (CSV/XLS/TSV/..) you have to attach the data to the workflow. This is the equivalent of using relative paths (for example "../folder_name/file_name.csv"). There are different ways to do this. In this example we use the Workflow Data Area settings in the new File Handling nodes. When adopting this strategy your workflow will not need to be reconfigured when the reader nodes fail as the file path is wrong on someone else's system. Anyone downloading your workflow will be able to open and execute on the fly regardless if the workflow was shared from : - KNIME Server - KNIME Hub - an email via the .knwf or .knar format - ... and so on ---- Other legacy ways to do this: - same approach of this example but using KNIME URL relative path ("knime://knime.workflow/data/file_name.csv") and/or - (outside of KNIME Analytics Platform) locate with your file system the workflow inside the workspace, open the folder with the workflow name, placing the “file_name.csv” in the “data” folder (or create such a folder if it is not already there). Then read via settings “Relative to:” and “Workflow Data Area” or KNIME URL (knime://knime.workflow/data/file_name.csv)

External resources

  • "Relative To:" File Handling Nodes Setting - KNIME Documentation - KAP 4.4
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.4.1

    knime

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