The Complete node, per the help file, is used to start a different flow after a message is handled: "If a node tells the runtime when it has finished handling a message, this node can be used to trigger a second flow." Since this is starting a second flow and JavaScript is asynchronous by nature, I would expect the same of the Complete node. I do not believe the intention was to use this for any synchronous use.
I would put your Save function after the HomeSeer node and pass the original payload through if you are not starting a second flow but are saving the data to context.
Or wait for the updates from HomeSeer. Maybe they even act on my request to request a list of devices and associated data from a node?
I would put your Save function after the HomeSeer node and pass the original payload through if you are not starting a second flow but are saving the data to context.
Or wait for the updates from HomeSeer. Maybe they even act on my request to request a list of devices and associated data from a node?
Comment