Creates a new path variable from a string and replaces a path variable of the same name (comprising name and suffix)
This component was written to provide a means of overwriting an existing Path flow variable, so that a single flow variable might be reusable for different file outputs. It does not appear that within a regular flow it is possible to "update" a path variable once it exists.
You can also use this component to create a totally new path variable without having to perform the usual trick of String Manipulation (Variable) followed by String to Path (Variable), which in fact is what this component will be doing on your behalf.
The path variable name is divided into two parts (name and suffix). so to create a path variable called filename_path, supply a name of "filename" and a suffix of "_path". This appears a little odd but is simply because of the way th String to Path (variable) node works. It requires a suffix to be applied to a name, so it was easier to simply replicate this behaviour here.
@takbb 30/09/2022
To use this component in KNIME, download it from the below URL and open it in KNIME:
Download ComponentDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.