How to get flow id by function node

how to get flow id by function node?
the way get node id:
nodered1

hao to get flow id , nobody know it ?
:thinking:

The flow id is not available in the function.

This was asked a few months ago and someone shared a flow that used the admin http API to get the flow configuration and, from that, find the flow id. If you search the forum you may be able to find it.

1 Like

thank you very much

Probably something like below:

[{"id":"c6102b2d.d908e8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"dda94d1c.3a07a","type":"change","z":"c6102b2d.d908e8","name":"jsonata filter","rules":[{"t":"set","p":"filter","pt":"msg","to":"payload[type = 'tab']","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":140,"wires":[["f5dc667c.ac8108"]]},{"id":"1624601c.23f32","type":"inject","z":"c6102b2d.d908e8","name":"","topic":"flows","payload":"","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":140,"wires":[["312ff7a6.7dd008"]]},{"id":"f5dc667c.ac8108","type":"debug","z":"c6102b2d.d908e8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"filter","targetType":"msg","x":600,"y":140,"wires":[]},{"id":"312ff7a6.7dd008","type":"http request","z":"c6102b2d.d908e8","name":"Get {{{topic}}}","method":"GET","ret":"obj","paytoqs":false,"url":"http://localhost:1880/{{{topic}}}","tls":"","proxy":"","authType":"basic","x":260,"y":140,"wires":[["dda94d1c.3a07a"]]}]
1 Like

thank you very much :heart_eyes:
勉強になりました

2 Likes