Dear KNIMErs,
I encountered an odd case using the Breakpoint node. I’m using the Breakpoint node stopping the workflow if a certain flow variable matches predetermined value. The node works well in general but when it is inside a wrapped metanode whose branch is inactive (and so the node should not intervene at all) it brakes the flow telling that the flow variable is not available. In contrast I would expect that, if the branch where the Breakpoint is placed is inactive, it does not act at all.
I reproduced the problem in a minimal workflow attached here. There you can see that if the “selected case” is the first, the workflow fails, although the Breakpoint node should not intervene here as it is placed in the second case branch that it’s disabled.
Can anybody explain why this happen? Can you suggest a workaround?
It appears that this is a bug, thank you for reporting that!
I was able to reproduce this - the Breakpoint node for some reason stays active, even if in an otherwise inactive branch. Its output is not x’ed out, which it certainly should be.
I will open a ticket so that our developers will work on a fix. I’ll keep you posted on any news here.
In this new post@Claire mentioned that this problem still persists on KNIME Analytics 4.2.2. Unfortunately I still didn’t test it as I’m running version 4.1.1. @Claire, can you please confirm whether the workflow I uploaded in my first comment still has problem in KNIME Analytics 4.2.2?
The issue is related to a flow variable which is used in the breakpoint node to override the existing value. In fact, I compare the value of a flow variable against the value of another one.
I modified your workflow by adding my component which raises this issue.
Please find it in attachment.
By the way, I found another issue, related to the component output node.
If the component is disabled, we cannot override the component output node using a flow variable.
I can reproduce the error, that’s a bug. A ticket is opened for that.
Joel: could you give me a bit more information about the overriding the component output issue you are facing? Happy to look into that. Maybe you can open a new thread for that and tag me there, this thread is getting a bit messy otherwise