# Node Status truncated?

**URL:** https://discourse.nodered.org/t/node-status-truncated/31201
**Category:** General
**Created:** [6 August 2020 05:36 UTC](https://discourse.nodered.org/t/node-status-truncated/31201 "2020-08-06T05:36:45Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![T0T4R4](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/t0t4r4/32/10850_2.png) [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)
#### Post date: [6 August 2020 05:36 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/1 "2020-08-06T05:36:46Z")

</div>

Hi guys,

I am using the status to report messages from nested subflows to the dashboard layer and was surprised to see that the status text were truncated on the front end :  
Notice the contents of the

tag below :

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/52df522819e1378114cc1822ba1d8a45548b8951.png)

and the status showing on the node as well, truncated :  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06e76a9132aae9416551723d092e2c20cf22ffa9.png)

But the actual value is not truncated  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/0/c07c759a2fc8fa7d178ae75e8997667a89696c90.png)

I'm running 1.0.4 , and I could not find in the nodered code where this triple dot would be coming from...

Thanks in advance !

EDIT: Ok I just noticed the 32 character limitation...  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/4/04406d5ff09d4055f86b90c10483e39865776d9b.png)

the question is "why" ?

---

<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: [6 August 2020 06:18 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/2 "2020-08-06T06:18:28Z")

</div>

Design decision, to stop status being too long and cluttering up the editor. It is not a dashboard.

---

<div class="post-metadata">

### Author: ![T0T4R4](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/t0t4r4/32/10850_2.png) [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)
#### Post date: [6 August 2020 09:42 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/3 "2020-08-06T09:42:34Z")

</div>

I'm actually using the Status node to push the status value to a dashboard text element. It saves me having to manage a separate "status" global variable, which would be redundant.

It makes sense to truncate it in front of the node, when displaying it, but not the original value, in case it gets used or displayed somewhere else.

---

<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: [6 August 2020 09:52 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/4 "2020-08-06T09:52:06Z")

</div>

hmmm - not a bad point to think about.

---

<div class="post-metadata">

### Author: ![T0T4R4](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/t0t4r4/32/10850_2.png) [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)
#### Post date: [6 August 2020 09:53 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/5 "2020-08-06T09:53:54Z")

</div>

I can't find where it is in the node-red code 😭

---

<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: [6 August 2020 13:50 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/6 "2020-08-06T13:50:01Z")

</div>

Is this just a subflow thing ?

It may just be line 187 of /packages/node\_modules/@node-red/runtime/lib/nodes/flows/Subflow.js

looking at it - it does seem to be just subflows (I think)... we do truncate in the debug nodes to keep things tidy... and we do that at the point of display... - and I guess we truncate them in subflows to be consistent with that... but that then percolates upwards as you see... However you can also set status in a function node and that doesn't truncate - so slightly inconsistent...

---

<div class="post-metadata">

### Author: ![T0T4R4](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/t0t4r4/32/10850_2.png) [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)
#### Post date: [7 August 2020 10:20 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/7 "2020-08-07T10:20:47Z")

</div>

I was kind of abusing statuses, maybe, as well 🙂  
But yes, i've got subflows absolutely everywhere, and nested, and it's a hell of a mess but I love it 😃

---

<div class="post-metadata">

### Author: ![T0T4R4](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/t0t4r4/32/10850_2.png) [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)
#### Post date: [7 August 2020 10:24 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/8 "2020-08-07T10:24:25Z")

</div>

I guess just truncating when displaying is sufficient.

---

<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: [6 October 2020 10:24 UTC](https://discourse.nodered.org/t/node-status-truncated/31201/9 "2020-10-06T10:24:27Z")

</div>

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