Hub
  • Software
  • Blog
  • Forum
  • Events
  • Documentation
  • About KNIME
  • KNIME Hub
  • knime
  • Spaces
  • Workflow Snippets
  • Retry Database Connection
WorkflowWorkflow

Retry Database Connection

DB Connector Retry Try Catch Workflow Snippet Onboarding
+1

Last edited: 

Drag & drop
Like
Download workflow
Copy short link
Workflow preview
Retry Database Connection This Workflow Snippet shows how to try connecting to a database multiple times using a try catch block and a loop. The loop stops either: - when the retry count reaches the maximum defined at the Counting Loop Start node OR - when a successful DB connection is established To simulate the behaviour of unsuccessful retries, configure the Counting Loop Start node with number of loops <= 3. The Fail Workflow Component at the end is important ONLY for execution on a KNIME Server. It detects if a successful connection has been established during the retries and throws an error marking the overall workflow execution unsuccessful.

Used extensions & nodes

Created with KNIME Analytics Platform version 4.4.2
  • Go to item
    KNIME Base nodes Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

  • Go to item
    KNIME Database Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

  • Go to item
    KNIME Javasnippet Trusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

  1. Go to item
  2. Go to item
  3. Go to item
  4. Go to item
  5. Go to item
  6. Go to item

Legal

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

Discussion
Discussions are currently not available, please try again later.

KNIME
Open for Innovation

KNIME AG
Hardturmstrasse 66
8005 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • E-Learning course
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • KNIME Open Source Story
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more on KNIME Server
© 2022 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Credits