# Remove / delete flow variables

**URL:** <https://forum.knime.com/t/remove-delete-flow-variables/85385>\
**Category:** KNIME Analytics Platform\
**Tags:** flow-variables\
**Created:** [December 18, 2024, 12:19pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385 "2024-12-18T12:19:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![p\_mg](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/p/b9bd4f/32.png) [@p\_mg](https://forum.knime.com/u/p_mg)\
**Post date:** [December 18, 2024, 12:19pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385/1 "2024-12-18T12:19:34Z")

</div>

Hello,

I am working with flow variables. Within my workflow, I have a Case Switch, but there is a bug in the behavior of the Case Switch and flow variables, as it always outputs the values from port 0 in case the flow variable exists ([Case Switch does not handle flow variables correctly](https://forum.knime.com/t/case-switch-does-not-handle-flow-variables-correctly/85043)). For this reason, I need to delete flow variables from tables. I know this was asked 10 years ago ([delete flow variable](https://forum.knime.com/t/delete-flow-variable/6641)), but I wanted to check if there have been any updates or if there is a way to do this.

Thank you very much!

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [December 18, 2024, 12:25pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385/2 "2024-12-18T12:25:18Z")

</div>

Hey there,

you may want to check out the Variable Filter:

> **[Variable Filter](https://hub.knime.com/knime/extensions/org.knime.features.base/latest/org.knime.base.node.flowvariable.filter.VariableFilterNodeFactory)**
>
> This node filters local flow variables from all connections passing through it to prevent their availability in downstream nodes. A local flow variable is one …

That might just do the trick…

---

<div class="post-metadata">

**Author:** ![p\_mg](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/p/b9bd4f/32.png) [@p\_mg](https://forum.knime.com/u/p_mg)\
**Post date:** [December 18, 2024, 1:19pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385/3 "2024-12-18T13:19:35Z")

</div>

Thank you very much for the solution, MartinDDDD. I was only using it when working with flow variables, and it solves many problems for me. Best regards.

---

<div class="post-metadata">

**Author:** ![MartinDDDD](https://forum-cdn.knime.com/user_avatar/forum.knime.com/martindddd/32/69988_2.png) [@MartinDDDD](https://forum.knime.com/u/MartinDDDD)\
**Post date:** [December 18, 2024, 6:56pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385/4 "2024-12-18T18:56:06Z")

</div>

If your challenge is solved please consider flagging my response as solution - this way it shows up at the top if someone else comes across this topic when trying to solve the same / a similar challenge 🙂

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [December 25, 2024, 6:56pm UTC](https://forum.knime.com/t/remove-delete-flow-variables/85385/5 "2024-12-25T18:56:55Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
