I’m not completely new to Knime but quite without experience in workflow variables. I created a loop and now I want to store the results for every loop in a file (to be written is a table).
I tried to use the “create filename” node with the node “table writer”, but up to now without success. Can anyone give me a hint how to get the job done?
Hi @mgamer and welcome to the KNIME community forum,
For the file name you can use the “currentIteration” variable created by the loop start (or loop_value created by Interval loop). If you want to create a more meaningful file name, use the String Manipulation (Variable) and the join() function to create a string using the variables you already have.
To read more about flow variables in KNIME, you can take a look at this blog post:
Hi there @mgamer,
Welcome to KNIME Community!
Take a look at this example how to use Create File Name node in a loop in order to write down results in every iteration.
Thank you for the helpful hints. Now I got it to work
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.