I have embedded nodered. I’m working with the runtime-api.
I can launch the runtime and a flow.
The flow is: [inject-> function (n + n) -> debug] (mm, yes, this is why I do not work at NASA ;-))
I get to make inquiries through the API successfully. But I can not access the result of the function or the final payload of the flow.
I’ve tried things like this:
RED.nodes.getNode (‘id_node’). payload
The node.log method redirects to the standard output of the main application correctly. But I’m looking for a way to bidirectional communication main_nodeapp <-> runtime-nred.
Thank you .