How can I install flows on an NR instance running within FlowFuse

Here is my use case that is targeted towards non-technical persona.

  1. A user goes to a dashboard
  2. Selects a particular flow
  3. That flow is installed on that instance’s NR

I am unable to access the NR /flows endpoint from within FF. Any assistance is appreciated.

Why not simply have all of the flows set up on an instance and offer the user set the ability to enable or disable the flow of their choice?

Thank you. Any advice on the endpoint to use to enable the flows?

Thanks

There is no endpoint required! (not really - you have the dashboard buttons and toggles etc to pass data to the Node-RED instance built in!)

You could simply do this with persistent context.

Node-RED instance

FLOW 1

inject --> switch node (is flow.flow1enabled true?) --> do stuff

FLOW 2

inject --> switch node (is flow.flow2enabled true?) --> do stuff

FLOW n

inject --> switch node (is flow.flownenabled true?) --> do stuff

DASHBOARD BUTTONS

button 1 --> toggle flow.flow1enabled
button 2 --> toggle flow.flow2enabled
button n --> toggle flow.flownenabled

Ah. Thank you