My workflow loop occasionally breaks during execution. Is there a way to automatically reset and rerun the workflow? I attempted using the Variable Condition Loop End node, but it still halted. Any suggestions?
I need this solution because, without it, I have to constantly monitor the workflow and manually reset and execute it whenever it stops.
![]()
Can you identify the reason for the run break?
The reason for the break is valid—some nodes are in beta version and typically work in a loop about 40 times before failing. To resolve this issue more effectively, I decided to reset and rerun the workflow.
Are the offending nodes KNIME nodes or nodes you’re developing? If the former, which one(s)? Are you sure you don’t have a data issue?
It’s the selenium nodes—there’s no data issue, and it works well, but after some time, it loses the connection.
Sorry, I certainly don’t have an answer for that. Try tagging the Selenium developers.
@mmrostami can you try and adapt this example where a process runs several times until success.
Maybe wrap your loop around that. Also success can be a result actually written so it will not depend on possible problems with a node.