# Filter current flow not work?

**URL:** <https://discourse.nodered.org/t/filter-current-flow-not-work/99020>\
**Category:** General\
**Created:** [11 September 2025 22:02 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020 "2025-09-11T22:02:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [11 September 2025 22:02 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/1 "2025-09-11T22:02:03Z")

</div>

I noticed that in N-R, the Debug window has a "current flow" filter option. I expected that after enabling this option, I would only receive messages from the Node in the current flow. However, despite enabling this filter, I still receive messages from all active flows. This is very disruptive to message analysis. What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [12 September 2025 04:27 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/2 "2025-09-12T04:27:21Z")

</div>

It works for me.  
What version of Node-red do you have, and what platform is it running on?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [12 September 2025 06:50 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/3 "2025-09-12T06:50:10Z")

</div>

Hi.

I know it can be frustrating with annoying things happening.

Indulge me and make a new flow/tab and put an `inject` and `debug` node on it.

Put these in the top right of the screen - I'll explain why in a moment.

`DEPLOY` it, the the `DEBUG` view for current tab, press the `inject` node and leave it along.

When you get another message from another flow: take a screen shot and crop it to the top right of the screen.

(Only that _we_ don't need to see all the other stuff.)

Just the `inject` and `debug` node and the `debug` output.  
Oh, then post the screen shot.

Hope that helps in some way.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 September 2025 06:56 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/4 "2025-09-12T06:56:28Z")

</div>

Are you talking about messages from debug nodes or other messages? It only filters messages from debug nodes.

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 15:14 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/5 "2025-09-12T15:14:50Z")

</div>

Node Red v4.0.9 Home Assistant

- Metoda instalacjiHome Assistant OS

- Core2025.9.0

- Supervisor2025.09.0

- Operating System16.1

- Interfejs użytkownika20250903.2

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 15:31 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/6 "2025-09-12T15:31:04Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b90e01d308ddf9979b365ef57b12becf7e9bebc8.png) This is what the screenshot looks like 1 second after launching deploy, then there are many more messages. This is the simplest flow and debug view to diagnose the problem that Trying\_to\_learn wrote about

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 September 2025 15:43 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/7 "2025-09-12T15:43:18Z")

</div>

Can you show us a flow with one of the debug nodes that are continuing to show?

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 18:08 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/8 "2025-09-12T18:08:08Z")

</div>

I've been informed that only information from the Debug node is filtered, not from other nodes. I'm a beginner, and the sheer volume of messages makes it very difficult to analyze what's happening. An option that only displays messages from the current flow would be useful. Is there a place where I can submit a request to the Node-Red developers?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [12 September 2025 18:37 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/9 "2025-09-12T18:37:43Z")

</div>

You can make a request for a new feature here in the forum, the developers do read and respond to posts. There is category "Feature Requests", if I remember correctly.

But before anyone changes the code they would need to understand where all these messages are coming from if not debug nodes.

If you show us an example where a message is sent to the debug panel we may be able to suggest a way to control it.

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 19:10 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/10 "2025-09-12T19:10:51Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/5/25eab65c3e114adfab0a8dd24a8dde491af6e3ea.png) Here's another example flow that sends messages to the Debug window. These are generated by the Function and Main Logic nodes. There are a lot of them, and it's not always possible to disable a given flow. This causes dozens of messages to be generated in neighboring flows, making it difficult to identify the correct ones, those related to the flow in question. The Debug window is very helpful both for diagnosing new diagrams and for monitoring the performance of existing ones. It would be very helpful if messages related to the current flow could be presented using a filter.

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [12 September 2025 19:17 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/11 "2025-09-12T19:17:15Z")

</div>

In that example all the shown messages appear to be coming from the tab in question (all the `node.warn()` messages are coming from the function node "function 2").

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 19:58 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/12 "2025-09-12T19:58:28Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/e/2e39a950bc8c9b403a65906c3ccee18a8088ede5.png)Here's an example: other messages (from all flows) also appear in the Debug window. I can imagine that for more complex projects, visibility across different (all) flows will be needed. However, it would be nice if it were possible to filter messages only within the current flow.

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [12 September 2025 20:06 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/13 "2025-09-12T20:06:28Z")

</div>

Indeed, every node.warn() call will be shown in the debug panel.  
Edit: apparently this is not longer true.

I think it is bad coding style to leave a lot of node.warn() statements in my functions, so I either delete them or comment them out (with two slash characters).

```auto
// node.warn("This will not be displayed")

```

---

<div class="post-metadata">

**Author:** ![hardillb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hardillb/32/12373_2.png) [@hardillb](https://discourse.nodered.org/u/hardillb)\
**Post date:** [12 September 2025 20:23 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/14 "2025-09-12T20:23:59Z")

</div>

I can't reproduce this with Node-RED 4.1.0

![debug](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/3/d3d9ecad84d8e8caf4fb59ff8e347b8cabc68fb1.gif)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 September 2025 20:40 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/15 "2025-09-12T20:40:24Z")

</div>

It seems you are right, in 4.1.0 node.warn() messages are also filtered.

@januszwieja I suggest updating to node red 4.1.0.  
However I would also recommend only using node.warn() when debugging a function node and then comment them out.

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [12 September 2025 21:07 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/16 "2025-09-12T21:07:22Z")

</div>

I'm a beginner, not an IT expert. I'm not sure I understand these tips correctly – the idea is good, but I'm not able to implement it at this stage. Maybe I'll master it someday... I'll try.

For example, I don't know how to update Node Red – I was sure it updated with HA. However, the ability to disable messages from other flows would definitely make things easier for me and others.

If anyone reading this is knowledgeable, please implement this feature. Thanks a lot for taking this on.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [13 September 2025 03:02 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/17 "2025-09-13T03:02:22Z")

</div>

Ok, I'll try to explain what I'm seeing (and believe is happening.)

I did ask for you to crop the picture, but ok, we'll work with what we've got.

It's been suggested that the messages are actually `node.warn()` messages and not `debug`.

Two things to understand.

1: The arrow points to the `EXPAND` function. This expands the message.  
2: Is the name of the node from where the message came.

 ![debug](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/6/661cc143f250570c2ba27128197cd57e6d35e15f.png)

Go back to the _problematic flow_ where the messages are appearing.

When you see one, click on the name of the node - as shown by the red underline. (number 2)

When it shows you the node, there should/would be an orange line around the node.

Zoom in - but not to the ridiculous level - so that node is CLEARLY visible on the screen.

Take a screen shot.  
(And post)

I'm guessing (hoping) it will NOT be a `debug` node.  
(Nothing against you)

But for now I need you to do this - please.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [13 September 2025 07:12 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/18 "2025-09-13T07:12:06Z")

</div>

> [@januszwieja](#):
>
> For example, I don't know how to update Node Red – I was sure it updated with HA

You will have to ask on an HA forum about when they will upgrade their node red plugin to the latest version of node-red. The core node-red team does not control the HA plugin.

Alternatively you can uninstall the node-red plugin from HA and install node red directly. Then you can install the HA nodes in node red which, I believe, will give you the same capabilities as using the HA plugin, but will give you full control of node-red.

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [13 September 2025 13:42 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/19 "2025-09-13T13:42:39Z")

</div>

There are so many of these messages, and they scroll so quickly, that finding one in the current flow is practically impossible. Out of a dozen attempts, I've only managed to get it twice. That's why they're useless to me. Indeed, if I disable the other flows and leave only the one I'm working on, it works just as you showed. Cool and helpful. Thanks. Unfortunately, I can't disable the other flows for longer periods of time—for obvious reasons. You're right—it's not a Debug node, but my reflexes are too slow to take a screenshot.

---

<div class="post-metadata">

**Author:** ![januszwieja](https://avatars.discourse-cdn.com/v4/letter/j/7ea924/32.png) [@januszwieja](https://discourse.nodered.org/u/januszwieja)\
**Post date:** [13 September 2025 13:50 UTC](https://discourse.nodered.org/t/filter-current-flow-not-work/99020/20 "2025-09-13T13:50:02Z")

</div>

Thanks for the explanation – I dug around where you said and found a way to update Node Red. I'll do it a bit later, though – I don't fully trust the updates and have had some rather unpleasant experiences with them. I don't want to make two changes at once because I won't know what happened if something crashes. I need a few days to do this, and I need to figure out how to revert to the previous version of Node Red. Thanks.

[Next page](https://discourse.nodered.org/t/filter-current-flow-not-work/99020.md?page=2)
