Hub
Pricing About
WorkflowWorkflow

Retry Database Connection

DB ConnectorRetryTry CatchWorkflow SnippetOnboarding
+1
knime profile image
Draft Latest edits on 
Dec 9, 2018 11:53 AM
Drag & drop
Like
Download workflow
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.
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

    knime profile image
    knime
  • Go to item
    KNIME DatabaseTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

    knime profile image
    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.4.2

    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