The example workflow below works fine when the upper branch is activated:
…but when I try to activate to lower branch and deactivate the upper one, the workflow fails:
Note that the variable created in the upper branch is entered into the configuration field of the Component. The problem seems to be that even when the branch becomes inactive, Knime somehow still expect this flow variable to be present; this is not the case when the branch is inactive, which leads to the error.
The console says:
WARN Component 2:12706 Errors overwriting node settings with flow variables: Unknown variable “column2”