Problem with inactive "End If" output port

Hello everyone,
I am creating a KNIME Workflow where I have a “If Switch”.
In the top port, I have a workflow which also use a if switch, and a loop.
The bottom port only contains a “add empty row”.
When I test it, inputing a table so that the bottom port is selected, the “End If” output port become inactive. I feel that it is because I have a loop inside my top workflow, but I am not sure.

Could someone help me with this issue ?
I can provide any further info if needed.
Thank you very much :slight_smile:

I would guess that you need either a second End If to match the If Switch in your top branch, or end all 3 branches if appropriate in an End Case node


Hi Steve, thank your for this quick answer :slight_smile:

Here is a picture of my workflow to the understanding of the issue:

The branches end up well in end if nodes.
When the top output port of the main “If Switch” is active, there is no problem. But when it is the bottom output port, even if the bottom branch works (and so the “End If” get at least one active branch), the output port of my “End If” remains inactive.

Thank you for your help :slight_smile:

P.S. : The second picture represents the workflow inside the first picture metanode.

One thing to check - it looks like you have 2 loop start nodes, but only one loop end in the second picture - that might be the problem



Hello Steve, it works ! Thank you very much :slight_smile:

1 Like