Case Switch does not handle flow variables correctly
Hello, community,
I’m having an issue working with flow variables inside a Case Switch. I know this topic has been discussed in several threads (for example, Case Switch Flow Variable Problem or Case SWITCH End (Flow Variable) Unexpected Behaviour ), but I wanted to ask if there have been any updates or improvements. Do you know if Knime is working on solving this bug?
I have a fairly large workflow that involves both tables and flow variables. At one point, I need a Case Switch to operate on flow variables and update them within each port (depending on the port, I need to update certain variables, others, or a combination of both). I’ve tried working with the Case Switch only using flow variables and only with tables as input and output, but neither approach works as expected: I want the values of the flow variables to propagate correctly to the end. I’m attaching a very simple workflow as example that demonstrates this issue. Anny suggestions or comments? :slight_smile:
As alternatives to skip this problem, I’ve read about using the “Table Row to Variable” node or creating new variables and then renaming them, but these approach complicate and slow down the workflow.
Thank you!