Troubles Collecting Data At the Recursion Loop End
Hey everybody,
I’m working with recursive loops right now and have some troubles with collecting the data at the recursive loop end.
The workflow shall run on a KNIME server. A certain analysis is run on all input rows with previously set user parameters. Afterwards, the user can select the rows to keep and which rows to run through the analysis again with new user parameters. I’m using a recursive loop, which includes setting the user parameters, running the analysis and selecting results to keep or to re-run.
Now my problem: The data passed to the first collection port is not collected. Selecting everything in any iteration is working fine. Selecting nothing is fine (recursive loop abortion caused by reaching the maximum number of iterations). But if I select a row in the first iteration and select all other rows in the second iteration, only the rows from the second iteration are collected. The row from the first iteration is vanished.
I built a minimal example to further test this and to play around with the recursion (attached). The “problem” is, that everything is working perfectly fine in the example. The workflow behaves as expected in the local AP and on the server.
Do you have any ideas, which could be implemented incorrectly? I double-checked every setting and compared them to my minimal example. I also re-implemented my actual workflow strictly following the set up of the minimal example. But I still get to the same issue. I have the impression, I’m just missing a small detail.
Thanks in advance,
Johann