Accessing ContextStore of embedded instance of nodered from parent node.js application

Hi,

I am trying to create applicaton in nodejs with embeded node-red instance.

Is there any possibility to access (read and write) the ContextStore (global, flow and node cotenxt variables) set in Nodered nodes from parent nodejs application?

The context implementation is pluggable, so there is nothing to stop you writing one that can be accessed from the host app

https://nodered.org/docs/api/context/

Thanks for your reply,

did found an great example on integrating Redis as contextStore on GitHub - node-red/node-red-context-redis: A Node-RED Context store plugin backed by Redis

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.