I have been trying to edit flow variables within a case switch variable node.
What I’m noticing is that the variable is being manipulated correctly within the switch start and end points. However, downstream of the “CASE Switch Variable (End)” node any manipulation does not persist, it instead retains the value it had prior to entering the “CASE Switch Variable (Start)” node.
Is this a bug, or are flow variables being treated locally within switch statements intentionally?
Either way I am able to use the java code snippet to get around this issue, but was just curious.
Attached is a workflow that demonstrates the above question.
Flow variable manipulation in switches.knwf (132.7 KB)