# Is there a way to clear all node.status when pressed button on timestamp inject?

**URL:** <https://discourse.nodered.org/t/is-there-a-way-to-clear-all-node-status-when-pressed-button-on-timestamp-inject/8936>\
**Category:** General\
**Created:** [13 March 2019 16:06 UTC](https://discourse.nodered.org/t/is-there-a-way-to-clear-all-node-status-when-pressed-button-on-timestamp-inject/8936 "2019-03-13T16:06:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbove731](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gbove731/32/8128_2.png) [@gbove731](https://discourse.nodered.org/u/gbove731)\
**Post date:** [13 March 2019 16:06 UTC](https://discourse.nodered.org/t/is-there-a-way-to-clear-all-node-status-when-pressed-button-on-timestamp-inject/8936/1 "2019-03-13T16:06:27Z")

</div>

Hi,

I would like to clear programmatically all the node status, before the node are reached by msg payload.  
Is there a way to do that?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [13 March 2019 17:16 UTC](https://discourse.nodered.org/t/is-there-a-way-to-clear-all-node-status-when-pressed-button-on-timestamp-inject/8936/2 "2019-03-13T17:16:27Z")

</div>

Hi there,

No - the status of each node is controlled by the node - so unless it changes status it won't know about it. usually a full deploy/restart should set them to an initial state but again it is up to individual nodes to do the right thing.

What are you trying to do ? what is the use case ?
