"Table Row To Variable" variables not accessible

Hello,

I think I found a bug. Using a “Table Row To Variable”-Node (either the loop or row variant) produces the flow variables, but they’re not accessible in the “Java Edit Variable”-Node.

I produced a minimal-reproducible-workflow, where I compare the new row-to-variable node with the deprecated version:
In the new version, the string and path columns are converted to the respective flow variables, and the iteration variables (currentIteration, maxIteration) are also created as expected. However, in the “Java Edit Variable”-Node configuration, only the string variable is available. All flow variables exist at the JEV output though.
In the old version, all variables are created (except the Path variable, which it obviously doesn’t know how to handle) and they’re available in the JEV. Variables are handed through again.

There might be a reason to hide the path variables from the user, even though the path column behaves like a string column iirc, but hiding the iteration variables doesn’t make any sense to me, so I think this is a bug. I didn’t find anything related to that problem.

Stuff I was told to include:
Win10 Version 2004 Build 19041.685
KNIME Analytics Platform 4.3.0.v202012061114 org.knime.desktop.product null
Extension info: will provide if needed
oh, and I did a PC reboot and KNIME restart to be sure :wink:

mrwf.knwf (13.8 KB)

Thx for reporting and we already fixed it. The difference is that the old version of the node returns a integer flow variable while the new one a long variable. The latter cannot be handled by the edit variable node.

Best
Mark

Note that this change requires another deprecation of the node :frowning:

2 Likes

Awesome, thanks for the reply. I’ll just wait a bit longer with workflow updates. :slight_smile:

BR, T

1 Like

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