I am trying to find an elegant way to loop over a series of files contained in a folder. I tried implementing community examples (https://www.knime.com/nodeguide/control-structures/loops/example-for-reading-a-list-of-files) and a few variants, but I keep getting an error that says: Errors loading flow variables into node : Coding issue: Cannot create URL of data file from \my_folder.
I created a flow variable in the List Files Node. My understanding is that this will create a list My_list, pass it onto the file reader (which I set to use My_list as the variable). The node throws an error telling me that the “DataUrl” parameter is controlled by a variable. Isn’t this exactly what I am trying to/supposed to do?
In the file location browser it says that the input location is a directory, not the list of files I want to loop over. How can i fix this?