Hub
Pricing About
WorkflowWorkflow

Catch an error in an optimization loop and continue (Forum 38402)

TryCatchErrorContinue
mlauber71 profile image
Draft Latest edits on 
Mar 12, 2024 7:08 PM
Drag & drop
Like
Download workflow
Workflow preview
Catch an error in an optimization loop and continue (Forum 38402) The important points are: - encapsulate your loop in a component. Otherwise KNIME seems to have a problem to identify the Try-Catch block - provide an empty table with the same structure as the one you want to collect at the end of a loop. I think you also could just use one table with one column and allow changing data structures in your Loop-End (you might have to clean that up later) - I have not fully worked out the use of the error messages. In this case it just checks which ID ‘made’ it thru and would list the ones who did not

External resources

  • Select scope of a loop - KNIME Forum (77816)
  • Try - Catch, Loop until a job is finished
  • profile - Robbsen
  • Reading XMLs from URLs in a Try/Catch Loop
  • 38402 - forum entry
  • catch the error from a parameter optimization loop
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

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

    KNIME AG, Zurich, Switzerland

    Versions 4.5.0, 4.7.8

    knime
  • Go to item
    KNIME Ensemble Learning WrappersTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Versions 4.5.0, 4.7.0

    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