Hi,
I create a flow > export to json file.
Then import this flow on another PC and the node id is changed.

How do I make the node id unique when creating a flow,
immutable when importing flow on another PC?
Thanks for your help!
Hi,
I create a flow > export to json file.
Then import this flow on another PC and the node id is changed.

How do I make the node id unique when creating a flow,
immutable when importing flow on another PC?
Thanks for your help!
You don't. Nor should it matter. The id is an internal detail that nodes don't need to care about. Why do you need it ?
You can use the node's name property for the same purpose - it will appear as msg.error.source.name.
That will mean the rules in the Switch node will also be much clearer to understand.
@knolleary Thank you very much!