Accessing columns in Java Snippet according to Column Selection Node Configuration

I have a Java Snippet which I would like to be more generic within a component. The column-selection Flow Variable stores “evses” atm, how can I replace c_evses in my Code /in the Input so that the column can be decided by the flow variable. The flow variable tab is super confusing to me.

Thanks for your help!

Hello @tbtt,
The amount of control you have over the inputs of the JavaSnippets is a bit limited, but what you require can be done. After you set everything up like you did in your screenshot above, go to the flow variables tab and go to inCols -> 0 -> Name and choose the flow variable containing the name of the input column you want to use as c_evses in your code.
Kind regards,
Alexander

2 Likes

Worked, thanks! Its not that intuitive though in my opinion

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.