Selecting active branch using Case Switch Model node?

Dear all,


In this workflow is there any way to use the top branch (Input File + PeakPickerHiRes) or the bottom one (only the Input file node) depending on the one that is active? I’ve tried using the Case Switch Model node but without success.

Thank you!


Hi there,

well you are using Generic Workflow nodes so you might check if that extension contains some node that can help. See here list of nodes. Maybe FileMerger can work or FileToTable and then End IF node?


1 Like

Hi @rolivella and welcome back to the KNIME community forum,

How about a Try/Catch Errors construct with the Catch Errors (Generic Ports) node?


1 Like

Hi @armingrudd, thank you for your reply and sorry for the late answer, I was out of the office.

I’ve tried your solution but without success. Do you mind if I send you my workflow to see how can I put there a try/catch for controlling the execution branch? Thank you very much.

module_workflow_shotgun_tfrp_dev.knwf (28.5 KB)

With this data

You have to put a Try node as well (in the top branch for example).

This way if the top branch executes without any errors then the output of the Catch Errors will be from the top input port. If the top branch fails then the output from the bottom branch will be passed to the rest of the flow.


P.S. Here is an example of using Try/Catch Errors construct:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.