Rename column based on flow variable

Hi, is there any convenient way to rename a column to contain the value of a flow variable? My scenario: In a loop I am creating data to be appended to the original data table. In each iteration two columns are being produced. Now I want the names of the columns to be suffixed by the value of a flow variable (e.g. the currentIteration or something similar). How can this be done? Thanks in advance, Karlson

You would need to create Flow Variable with the original column plus ID using a Java Edit Variable or the String Manipulator (together with the Variable to TableRow and vise versa nodes) and do the renaming either in the Column Rename or Column Rename (Regex) node.