Hello everyone, I am here to ask for some help.
This is my flow code, i named the flow "greeting flow":
[{"id":"fcc45e0f.e7bde","type":"http in","z":"6308600e.e18bd","name":"","url":"/hello","method":"get","upload":false,"swaggerDoc":"","x":280,"y":240,"wires":[["7d0297e1.fc7a18"]]},{"id":"7d0297e1.fc7a18","type":"template","z":"6308600e.e18bd","name":"page","field":"payload","fieldType":"msg","format":"handlebars","syntax":"mustache","template":"<html>\n <head></head>\n <body>\n <h1>Hello Tommy!</h1>\n </body>\n</html>","x":430,"y":240,"wires":[["9bbee035.55136"]]},{"id":"9bbee035.55136","type":"http response","z":"6308600e.e18bd","name":"","statusCode":"","headers":{},"x":570,"y":240,"wires":[]}];
The result of "greeting flow":
It's all good.
Here is what i need:
1, I would like have a web ui page, a list of all my flow,then i can easy to manage the flows.
2, I hope every flow (show in the list page) can edit the variable in the flow list (no need open dialog editor to edit the value one by one if i have a bunch of "greeting flow" )
when i click the "edit variable" button it would popup a dialog for editing variable values.
If i could set "Tommy" like a variable,just like this in node editor:
(sorry for the jpg link , i can't upload more image because i'm a new user )
When i change the user_name to "Johnson" and redeploy the flow , it would show "Hello Johnson !".
Actually i think my question is like a "template feature" ,when i create a flow template, i set some variable for the template,the template like a parent flow, and then i deployed a bunch of child flow from parent flow but those child flow's variable are diffrent , and i can run it using by flow list page("run flow " button...).
Appreciate any help,
BR,
Will