it seems there has been a similar question already, unfortunately it does not solve my problem.
I am using the Java Edit Variable Node to create a flow variable that attaches the current date to my filename so that I dont have to change that every week (as I am reading this file weekly)
The Node contains the following code where I use double slashes to refer to the file:\\
SimpleDateFormat sdf = new SimpleDateFormat(“yyyyMMdd”);
out_timestamp = sdf.format(new Date());
out_filename = pathname+out_timestamp+" - “+fname+”.csv";
In the preview the file reader can read the csv but while executing I get the error message
WARN File Reader 0:1 Errors loading flow variables into node : Coding issue: Cannot create URL of data file from “C:\Knime\Test\20201120 - testing.csv”’ in filereader config
I treid to use the csv reader but I cannot read the csv file. I tried different configurations but its not resulting in the good output.
Does somebody have an idea how to solve this?
Thanks in advance!