# Msg is unique for each flow

**URL:** <https://discourse.nodered.org/t/msg-is-unique-for-each-flow/64872>\
**Category:** General\
**Created:** [9 July 2022 12:05 UTC](https://discourse.nodered.org/t/msg-is-unique-for-each-flow/64872 "2022-07-09T12:05:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![denissanga](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/denissanga/32/48346_2.png) [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Post date:** [9 July 2022 12:05 UTC](https://discourse.nodered.org/t/msg-is-unique-for-each-flow/64872/1 "2022-07-09T12:05:26Z")

</div>

Hi all I have a simple conceptual question  
I have a flow and many digital inputs. Each digital inputs is connect to a different function. Or better different functions for different digital inputs. Inside function I read the msg.payload and change it. If I have the two digital inputs ON together the two different function run in the same time. I would ask if they modify The same msg. Payload which continuous change respect to execution time of functions or if the two msg. Payload are completely different in the flow.  
Many thanks

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [9 July 2022 16:40 UTC](https://discourse.nodered.org/t/msg-is-unique-for-each-flow/64872/2 "2022-07-09T16:40:31Z")

</div>

> [@denissanga](#):
>
> If I have the two digital inputs ON together the two different function run in the same time.

No the two msgs will run seperately from each other. Each mes is processed by a node single. If you must have the data from multile nodes processed at the same time, you need t use the `join` node or store the data in a context variable.

---

<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:** [7 September 2022 16:41 UTC](https://discourse.nodered.org/t/msg-is-unique-for-each-flow/64872/3 "2022-09-07T16:41:15Z")

</div>

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