I would like to build a component that allows me select specific columns to then manipulate. In the image below the first manipulation is successful in shorting zip codes in to 5 digits only, using a flow variable. Then when I try to do the same operation but instead using the capitalize function it fills the entire row with the title of the column selected rather than editing the strings in the column. See supporting images belong.
I would switch over to a Column Expression and use upperCase(column(variable("column-selection")))
It is counter intuitive but $${Scolumn-selection}$$ is just a static value, the dynamic values needs to be forced using the column() function, something that the String Manipulation node does not have.
That’s great! I have one more request, is there a way to have the flow variable tied to the output column in the event that I use a different document with a different column name for the city?
Sure: go to the flow variable section of the node, under the expression, set the outputName field to the column-selection flow variable. That way it will always update the column that you nominated.