# Communicate between nodes at runtime

**URL:** <https://discourse.nodered.org/t/communicate-between-nodes-at-runtime/54663>\
**Category:** Developing Nodes\
**Created:** [3 December 2021 10:16 UTC](https://discourse.nodered.org/t/communicate-between-nodes-at-runtime/54663 "2021-12-03T10:16:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![midhun](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@midhun](https://discourse.nodered.org/u/midhun)\
**Post date:** [3 December 2021 10:16 UTC](https://discourse.nodered.org/t/communicate-between-nodes-at-runtime/54663/1 "2021-12-03T10:16:35Z")

</div>

Hi,

I have a config node which collects some data from child nodes in a flow for using it inside a particular function. Currently each node is inspected from the config node at start of flow. Now I need to replace the existing value inside a child node using msg.payload, and config node has to apply the updated value into same function.

Currently I'm extending the config-node like :

```auto
export type ConfigNode = {
    config: ConfigNode;
    register(node: Node): void;
    updateFuncion(oldKey: string, newKey: string): void;
} & BaseConfig & Node;

```

and using it :

```auto
this.config = RED.nodes.getNode(configNodeID);
this.config?.updateFuncion(last_key, current_key);

```

Is it possible to communicate with config node from a child node in `NODE-RED` way, or using `RED.httpAdmin` for triggering that function again?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 February 2022 10:17 UTC](https://discourse.nodered.org/t/communicate-between-nodes-at-runtime/54663/2 "2022-02-01T10:17:14Z")

</div>

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