Your core functionallity - loops is bugged as hell!
What is the error message (if any)?
There is no error message, however ‘Done’ is executed the same amount of time as ‘Loop’ and what’s more strange is that ‘Done’ is executed firstly and then goes ‘Loop’ thing.
@niewiemczego , as far as I can see it behaves as expected. Perhaps your interpretation of what you see in the UI confuses you.
The point is the Loop iterates the set of items fed to it. Therefore, the output shows how many times the iteration took place. However, the final result is a single set of items.
For simplicity, here’s a demo workflow.
It’s execution result is presented in the screenshot below.
However, that is not so. The dropdown. actually shows that 5 of those iteration were conducted via “loop” output and the last 6th one went through “done” output.
The “done” loop accumulates all the iterations and produces a single set of all the items iterated by the loop. This can be clearly seen from the Wait node that immediately follows the Loop node’s “done” branch.