Subflow with config env:You have some unused configuration nodes

I'm using NodeRed:4.0.5 + Dashboard 2. During this period, I put components into subflows for the sake of easy reuse. When all the components in my group are subflow components, the deployment will prompt "You have some unused configuration nodes", because in the configuration nodes, the corresponding group shows that 0 nodes are using this configuration.

Is this a BUG? What should I do to avoid this message during deployment?

Welcome to the forum @Hagan

This is a known issue, see SubFlow is not counted for config node `ui-group` usage Ā· Issue #754 Ā· FlowFuse/node-red-dashboard Ā· GitHub

Add a comment to the issue saying that it affects you, so that the developers know that it is an issue concerning others.

@knolleary,
Before I start fixing the problem we need to agree on one thing:
If a random node in a subflow uses an env config node, should that node be added to the config node users? I don't think so, for me only the subflow node should do it.

@joepavitt, I think the issue linked above can be moved to the core, thanks.

Agreed - keeping track of that would get very complicated. Only count the subflow instance node as a user.

1 Like
1 Like

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