# Feature request for deleting context and flow data

**URL:** https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352
**Category:** Feature Requests
**Created:** [10 February 2026 04:36 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352 "2026-02-10T04:36:33Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)
#### Post date: [10 February 2026 04:36 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/1 "2026-02-10T04:36:33Z")

</div>

Some nodes set context data and some flow data gets set as well. Sometimes I find I need to delete all data and now you have to select each piece and delete. Wouldn't it be nice to delete everything in one go.  
Thanks

---

<div class="post-metadata">

### Author: ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)
#### Post date: [10 February 2026 06:07 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/2 "2026-02-10T06:07:37Z")

</div>

I randomly thought of doing a delete flow.\* using a change node ...

```flows
[{"id":"7fcdfc8508254496","type":"inject","z":"7ed5b8133e5c6c5c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":3314,"y":303,"wires":[["b46e22078933b31e"]]},{"id":"b46e22078933b31e","type":"change","z":"7ed5b8133e5c6c5c","name":"","rules":[{"t":"delete","p":"*","pt":"flow"}],"action":"","property":"","from":"","to":"","reg":false,"x":3305,"y":368,"wires":[[]]}]

```

but it doesn't work.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [10 February 2026 07:14 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/3 "2026-02-10T07:14:39Z")

</div>

This has been requested a few times and I agree it is a worthwhile feature.

In the meantime, you can DIY it with a simple function: [How to clear context? - #2 by Steve-Mcl](https://discourse.nodered.org/t/how-to-clear-context/80880/2)

---

<div class="post-metadata">

### Author: ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)
#### Post date: [10 February 2026 14:51 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/4 "2026-02-10T14:51:40Z")

</div>

I do have a work around I use but last night while deleting a bunch of data because I was too lazy to use my work around since it was almost as much work as simply doing them one at a time, I said to myself, self, maybe you should bring this up in the forum. And after a discussion with myself I lost the argument and posted. Now I would also like to be to set flow data and context data easily but I thought bringing that up too would make me look like a complainer and I remember someone else mentioning that too. So I won't mention that.

---

<div class="post-metadata">

### Author: ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)
#### Post date: [10 February 2026 15:19 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/5 "2026-02-10T15:19:16Z")

</div>

> [@gerry](#):
>
> I do have a work around

I guess you could have posted that so that we had known and talked about possible workarounds but there I go nitpicking 😉

Personally I'm going to use @Steve-Mcl 's solution if I ever need to remove all flow values.

---

<div class="post-metadata">

### Author: ![gerry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerry/32/21604_2.png) [@gerry](https://discourse.nodered.org/u/gerry)
#### Post date: [10 February 2026 15:21 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/6 "2026-02-10T15:21:47Z")

</div>

My work around is a much less elegant solution than @Steve-Mcl so better to stay silent and be thought a fool than post a solution and remove all doubt

---

<div class="post-metadata">

### Author: ![gregorius](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gregorius/32/73816_2.png) [@gregorius](https://discourse.nodered.org/u/gregorius)
#### Post date: [10 February 2026 15:29 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/7 "2026-02-10T15:29:33Z")

</div>

> [@gerry](#):
>
> thought a fool than post a solution

I was once told: a fool jumps in where angels fear to tread.

Yet more good advice that I ignored ...

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [11 May 2026 15:29 UTC](https://discourse.nodered.org/t/feature-request-for-deleting-context-and-flow-data/100352/8 "2026-05-11T15:29:41Z")

</div>

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