Node Status (like debug node) for function nodes?

#1

Guys,

Quite often with my flows i will put a debug node after a function node and click the property node status and just have it display the debug value on the screen (instead of in the debug window) - obviously this can lead to a lot of debug nodes.

Wondering is it possible to do the same thing with a function node and have it output a configurable status line underneath itself - one that we would either program within the function node itself or one that could be activated by a checkbox etc. THis would save some screen real estate and tidy things up a little (for me at least)

Is this possible now and i have not worked out how to do it - or would this be an enhancement ?

regards

Craig

0 Likes

#2

You can do it with node.status https://nodered.org/docs/writing-functions#adding-status

1 Like

#3

The docs on the website are marvellous things...:wink: https://nodered.org/docs/writing-functions

0 Likes

#4

thank you very much guys !!! Seemed like a great idea i had - someone else just beat me to it !

Craig

0 Likes

#5

Any time you come up with a "new" idea and find out it's already a thing, just think of it as a sign that you're grasping the level you work at now and are ready to step things up a notch and play even harder.

2 Likes