Can you check the number of active nodes connected to the current node?

I would like to check the number of connected enabled (or disabled) nodes to to current node ONLY on the input.
Possibly to check the type of node connected.

This contradicts the concept of Node-RED. Any number of nodes should be able to be connected to one another. Nodes should check whether incoming messages have certain properties and control their behavior depending on these properties (of course also on the node settings).

This is what makes Node-RED so flexible.

1 Like