# Message of another flow received from delay node of first flow

**URL:** <https://discourse.nodered.org/t/message-of-another-flow-received-from-delay-node-of-first-flow/61983>\
**Category:** General\
**Created:** [29 April 2022 22:55 UTC](https://discourse.nodered.org/t/message-of-another-flow-received-from-delay-node-of-first-flow/61983 "2022-04-29T22:55:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![shannonrex](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@shannonrex](https://discourse.nodered.org/u/shannonrex)\
**Post date:** [29 April 2022 22:55 UTC](https://discourse.nodered.org/t/message-of-another-flow-received-from-delay-node-of-first-flow/61983/1 "2022-04-29T22:55:45Z")

</div>

I have two flows. Both are triggered by the same event. The first flow ends with function that sends out to msg.payload node a command string like "reboot".  
The second flow ends with function that sends out a msg with payload as string like "retry" towards a delay node of fixed delay of 1 minutes. When 1 minute time expires, delay node is in loop with function of second flow, so I expect to finf in input to the function of second flow the message with payload set to "retry", but sometimes I find in input the message with payload set to "reboot". Why? The two flows are separated at function nodes level... What happens? I trace msg.payload out from delay node and here I see the wrong msg... So I suppose delay node is not working well, as it overwrite the input message with another msg belonging to another flow...

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [29 April 2022 23:18 UTC](https://discourse.nodered.org/t/message-of-another-flow-received-from-delay-node-of-first-flow/61983/2 "2022-04-29T23:18:06Z")

</div>

Hi and welcome.

I kind of understand what you are meaning, but also don't. (No one to blame.)

You are new here so have limited posts before you have to wait to post more.

I know this will be a bit annoying to do but please:

Make an example of what you are doing but on one tab. (I'm saying this because I am not sure what you mean by _flows_. Are they both on the same tab or different? Anyway.)

One one tab make a very basic example using `inject` nodes and `debug` nodes for the input and output. Including GUI nodes only complicates things for no benefit.

When done, drag the mouse over that area and `export` the code.  
Paste it and someone may be able to get a better understanding of what it is you want to do and what you are seeing.

When posting the code look at the top of the _window_ and there is a button `</>`.  
Click it and put the code in there so it is formatted correctly and is able to be copied out by people wanting to help.

---

<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:** [28 June 2022 23:18 UTC](https://discourse.nodered.org/t/message-of-another-flow-received-from-delay-node-of-first-flow/61983/3 "2022-06-28T23:18:51Z")

</div>

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