# Trigger node question about "reset"

**URL:** https://discourse.nodered.org/t/trigger-node-question-about-reset/39157
**Category:** General
**Created:** [14 January 2021 20:16 UTC](https://discourse.nodered.org/t/trigger-node-question-about-reset/39157 "2021-01-14T20:16:58Z")
**Posts on this page:** 4
**Page:** 1

<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: [14 January 2021 20:16 UTC](https://discourse.nodered.org/t/trigger-node-question-about-reset/39157/1 "2021-01-14T20:16:58Z")

</div>

Say I have this flow - as an example:

```auto
[{"id":"20773d9f.d36e6a","type":"inject","z":"68e3655f.b606b4","name":"Normal thing","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1850,"y":1500,"wires":[["f82eae40.7b13d8"]]},{"id":"f82eae40.7b13d8","type":"trigger","z":"68e3655f.b606b4","name":"Nominal time","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"20","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":2040,"y":1500,"wires":[["9d77928.108d9f"]]},{"id":"9d77928.108d9f","type":"debug","z":"68e3655f.b606b4","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":2230,"y":1500,"wires":[]},{"id":"dd881de1.7049e8","type":"inject","z":"68e3655f.b606b4","name":"\"Abort\"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"(unknown)","payloadType":"str","x":1840,"y":1580,"wires":[["f82eae40.7b13d8"]]}]

```

![Screenshot from 2021-01-15 07-12-48](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/9/4902b5fd105ce28c49fa028692a7a4d7101a4300.png)

The idea being that "Normal thing" happens.  
The first message is sent and a time period is then _waited_ before the second signal.

I want to stop _waiting_ and get the second signal sent.

`msg.reset` won't work.

Is there a solution?

Sorry if this has been asked before - and even more so if I asked it. 😉

Thanks.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [14 January 2021 20:26 UTC](https://discourse.nodered.org/t/trigger-node-question-about-reset/39157/2 "2021-01-14T20:26:16Z")

</div>

Like this may be

```auto
[{"id":"20773d9f.d36e6a","type":"inject","z":"e8af3254.77f7e","name":"Normal thing","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":330,"y":740,"wires":[["f82eae40.7b13d8"]]},{"id":"f82eae40.7b13d8","type":"trigger","z":"e8af3254.77f7e","name":"Nominal time","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"3","extend":false,"overrideDelay":false,"units":"s","reset":"0","bytopic":"all","topic":"topic","outputs":1,"x":520,"y":740,"wires":[["9d77928.108d9f"]]},{"id":"9d77928.108d9f","type":"debug","z":"e8af3254.77f7e","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":690,"y":800,"wires":[]},{"id":"dd881de1.7049e8","type":"inject","z":"e8af3254.77f7e","name":"\"Abort\"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"str","x":350,"y":800,"wires":[["f82eae40.7b13d8","9d77928.108d9f"]]}]

```

---

<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: [14 January 2021 20:31 UTC](https://discourse.nodered.org/t/trigger-node-question-about-reset/39157/3 "2021-01-14T20:31:27Z")

</div>

I guess all I need in the `inject` it to actually set the `msg.reset`.  
(or maybe use a `change` node to the `trigger` node to do that.)

Thanks.

---

<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: [28 January 2021 20:31 UTC](https://discourse.nodered.org/t/trigger-node-question-about-reset/39157/4 "2021-01-28T20:31:33Z")

</div>

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