Name output based on a variable


I have a workflow that saves images from small molecules (Renderer to ImageImage Column Writer) with the output name that is based on the row number (i.e. "Row0.png" to "Row200.png" if I have 201 molecules).

If possible, I would like to save the images using the name of the small molecule that is contained in another column of my input table.

I am relatively new to KNIME (I have put my current workflow together doing online searches) and I seem unable to come up with the correct Google querry that will put me in the right direction.

I look forward to hearing from more advanced users.



Hello Charles,

have a look at the RowID node.

The Image Column Writer node uses the row id's to name the files when it saves the images to them, so if you replace the row id's with the content of another column from your table (i.e. the molecule name) using the RowID node before you save the images, the image files will be named accordingly.


Thank you for the fast reply Marco. This is exactly what I was looking for. It worked.