Catch an error in an optimization loop and continue (Forum 38402)
The important points are:
- encapsulate your loop in a component. Otherwise KNIME seems to have a problem to identify the Try-Catch block
- provide an empty table with the same structure as the one you want to collect at the end of a loop. I think you also could just use one table with one column and allow changing data structures in your Loop-End (you might have to clean that up later)
- I have not fully worked out the use of the error messages. In this case it just checks which ID ‘made’ it thru and would list the ones who did not
To use this workflow in KNIME, download it from the below URL and open it in KNIME:
Download WorkflowDeploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com, follow @NodePit on Twitter or botsin.space/@nodepit on Mastodon.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.