Hub
Pricing About
WorkflowWorkflow

Error Handling with Try-Catch

EducationError handlingTry-catchTry executionRemote source
+1
knime profile image
Draft Latest edits on 
May 22, 2024 2:17 PM
Drag & drop
Like
Download workflow
Workflow preview
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".
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 5.2.0
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime profile image
    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime profile image
    knime
  • Go to item
    KNIME Google ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 5.2.0

    knime profile image
    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits