The First Table to Row Variable Loop Start is looping vessels names and the other one is setting a Date Time row filter coming from another database. The loop is only working for one iteration.
This loop was also doing one iteration
The First Table to Row Variable Loop Start is looping vessels names and the other one is setting a Date Time row filter coming from another database. The loop is only working for one iteration.
Hi @Adrien_2 , for multiple loops to work together one loop must be logically “fully nested” (enclosed) in the other. From a programming perspective it must be clear which “end” refers to each “start”.
When I look at this workflow, I can see (because of the flow variable from the Group Loop Start
to the Row Filter
) that the Group Loop Start
is the “outer” loop. For each iteration of the Group Loop Start
there must therefore be a complete cycle of all iterations of the Row to Variable Loop Start
loop …
BUT… which is the “inner” Variable Loop End
?
It is not clear, and to my mind cannot be determined.
Both Variable Loop End
nodes could equally be the inner loop.
As I cannot determine the intent, I think KNIME cannot determine it either, and the underlying code that will be executed probably therefore performs only the single iteration and then cannot continue.
Are you wanting to write to Excel for every iteration of the Row to Variable Loop, or for every iteration of the Group Loop?
For a fuller discussion on “inner” and “outer loops” see
Does that help at all?