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".
Workflow
Error Handling with Try-Catch
Used extensions & nodes
Created with KNIME Analytics Platform version 5.2.0
Legal
By using or downloading the workflow, you agree to our terms and conditions.