Reputation: 318
Is there anyway, using function, the return all flow
variables?
My scenario is: I have a functions creating flow variable for each device connected, I want to get this variables to do future processing.
Upvotes: 2
Views: 4920
Reputation: 10117
You can use flow.keys()
to get a list of the names of all flow context variables.
Reference: https://nodered.org/docs/user-guide/writing-functions#flow
Upvotes: 4