hi~
I want to make a custom node, like the inject node, with a button for data injection.
However, I found that the inject node injection cannot be in the sub-process and will prompt an warning.
I would like to ask how to do a similar injection in the sub-process, you can inject data.
Thank you!
RED.notify(RED._("notification.warning", {message:RED._("notification.warnings.nodeActionDisabledSubflow")}),"warning");
I want to use the button on the Debug or Inject node to toggle its enabled/disabled state in the subflow。
You cannot do that.
When you are editing a subflow template, you are editing the template , not an instance.
If you have 10 instances of the subflow in your flows, and you click an Inject node button in the template, which of the 10 instances should be triggered? This is why the buttons are disabled when editing the subflow.