Hub
Pricing About
ComponentComponent

Local File Name Variables

takbb profile image
Draft Latest edits on 
Apr 25, 2021 12:53 PM
Drag & drop
Like
Use or download
Creates a String variable with the variable name as specified. The value of the variable is an absolute file name based on the current workflow file path taken from the current context. A second String variable with the suffix _url contains the file name using url syntax. A third Path variable with the suffix _path contains the Path version of the specific file location. A regular expression is used to validate, as far as possible, that the given file name is a valid relative file name. The file location will automatically be generated relative to the workflow's data folder. This component does not in itself create the actual path in the file system, nor does it verify that the location exists. It simply conveniently builds the flow variables that can be used by subsequent nodes in your workflow. This differs from the [Create File/Folder Variables] node in that the it creates both String and Path variables for the same file that can be used as appropriate with a variety of nodes. In addition, the constructed filename is always Absolute, but is built to be relative to the local Workflow and so remains portable, and will adapt if the workflow is saved under a new name. v1 @takbb Brian Bates 25 April 2021

Component details

Output ports
  1. Type: Flow Variable

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.0

    knime
  • Go to item
    KNIME Quick FormsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.3.2

    knime

This component does not have nodes, extensions, nested components and related workflows

Legal

By using or downloading the component, 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