Error Handling with Try-Catch
This workflow demonstrates how to handle errors with the Try-Catch structure.
In this example, the new contracts data are read from an external data source (Google Sheet in this case) and added to the full contracts data. Imagine, this is a automated process running on a regular basis. We expect that reading might fail from time to time. In those cases, we want to continue execution with an empty table.
Additionally, the workflow shows various Try-Catch block designs.
-------------------------------
If you want to try out this example, open this Google sheet in the browser with the Google account that you're authenticating with in the workflow. Then, search for this Google sheet in the Google Sheets Reader node. To try the workflow execution with an error in the reader node, add, for example, "-1" value to the "Range".
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.