# Node Status - queries about text is null

**URL:** https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104
**Category:** General
**Created:** [10 June 2020 08:07 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104 "2020-06-10T08:07:24Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)
#### Post date: [10 June 2020 08:07 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104/1 "2020-06-10T08:07:24Z")

</div>

Is it normal in case of 2, Node Status to block the whole flow ?  
Basically, if `'text'` has the value `null`, the execution of the flow stops at that node.

```auto
[{"id":"f00e26a6.ac9408","type":"tab","label":"Message","disabled":false,"info":""},{"id":"fcaa74a0.c1e5f8","type":"inject","z":"f00e26a6.ac9408","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":180,"wires":[["f1c7a59e.89ed7"]]},{"id":"bf141474.1662e8","type":"debug","z":"f00e26a6.ac9408","name":"Debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":180,"wires":[]},{"id":"f1c7a59e.89ed7","type":"function","z":"f00e26a6.ac9408","name":"1","func":"msg.payload = null;\n\n\nnode.status({fill:\"green\", shape:\"ring\", text:'Payload : ' + msg.payload});\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":180,"wires":[["bf141474.1662e8"]]},{"id":"db5026d3.e46f9","type":"inject","z":"f00e26a6.ac9408","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":260,"wires":[["72e37519.523bec"]]},{"id":"3583c42e.28e29c","type":"debug","z":"f00e26a6.ac9408","name":"Debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":260,"wires":[]},{"id":"72e37519.523bec","type":"function","z":"f00e26a6.ac9408","name":"2","func":"msg.payload = null;\n\nnode.status({fill:\"green\", shape:\"ring\", text:msg.payload});\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":260,"wires":[["3583c42e.28e29c"]]}]

```

---

<div class="post-metadata">

### Author: ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)
#### Post date: [10 June 2020 08:11 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104/2 "2020-06-10T08:11:00Z")

</div>

It doesn't block the flow - if you change the Debug node to also long to the console, you'll see the message arrives.

But it does appear that the editor doesn't handle a payload will a `null` value - you get this error in the editor:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/b/bb0d9d24a26ff06b9d57fd556bf5028ff3a66aea.png)

Which is odd - this definitely used to work.

What version of Node-RED are you using?

---

<div class="post-metadata">

### Author: ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)
#### Post date: [10 June 2020 08:14 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104/3 "2020-06-10T08:14:55Z")

</div>

Same result in :

- Node Red 1.0.5 and 1.0.6
- NodeJS 10 and 12 (all version of 12)
- Windows 7, 10 and Ubuntu

---

<div class="post-metadata">

### Author: ![softy2k](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/softy2k/32/23707_2.png) [@softy2k](https://discourse.nodered.org/u/softy2k)
#### Post date: [10 June 2020 08:26 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104/4 "2020-06-10T08:26:29Z")

</div>

Also, Debug 3 is ... unreachable. You're right, he appears in the console

```auto
[{"id":"855fa392.159ea","type":"tab","label":"Message","disabled":false,"info":""},{"id":"a050df00.37e8d8","type":"inject","z":"855fa392.159ea","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":180,"wires":[["b4593353.8d9da8"]]},{"id":"d423496f.6e9b6","type":"debug","z":"855fa392.159ea","name":"Debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":180,"wires":[]},{"id":"b4593353.8d9da8","type":"function","z":"855fa392.159ea","name":"1","func":"msg.payload = null;\n\n\nnode.status({fill:\"green\", shape:\"ring\", text:'Payload : ' + msg.payload});\n\n\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":180,"wires":[["d423496f.6e9b6"]]},{"id":"a727a5c5.bd176","type":"inject","z":"855fa392.159ea","name":"GO","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":260,"wires":[["8e5ad3ca.d65248"]]},{"id":"9449c11.635744","type":"debug","z":"855fa392.159ea","name":"Debug 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":660,"y":260,"wires":[]},{"id":"8e5ad3ca.d65248","type":"function","z":"855fa392.159ea","name":"2","func":"msg.payload = null;\n\nnode.status({fill:\"green\", shape:\"ring\", text:msg.payload});\n\nreturn msg;","outputs":1,"noerr":0,"x":460,"y":260,"wires":[["9449c11.635744","2203172e.d6691"]]},{"id":"2203172e.d6691","type":"function","z":"855fa392.159ea","name":"Other Node","func":"msg.payload = 'Flow is running';\n\n\nreturn msg;","outputs":1,"noerr":0,"x":640,"y":380,"wires":[["94801149.aa8e88"]]},{"id":"94801149.aa8e88","type":"debug","z":"855fa392.159ea","name":"Debug 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":840,"y":380,"wires":[]}]

```

---

<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: [9 August 2020 08:26 UTC](https://discourse.nodered.org/t/node-status-queries-about-text-is-null/28104/5 "2020-08-09T08:26:34Z")

</div>

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