# Are nested subflows a problem?

**URL:** https://discourse.nodered.org/t/are-nested-subflows-a-problem/10610
**Category:** General
**Created:** [27 April 2019 20:54 UTC](https://discourse.nodered.org/t/are-nested-subflows-a-problem/10610 "2019-04-27T20:54:42Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![cuxcrider](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@cuxcrider](https://discourse.nodered.org/u/cuxcrider)
#### Post date: [27 April 2019 21:52 UTC](https://discourse.nodered.org/t/are-nested-subflows-a-problem/10610/3 "2019-04-27T21:52:47Z")

</div>

In the real device all sorts of operations will be done on temperature and power. This is just a simple example I made to understand how this works. If all I needed to do was multiply a number by 2 there are obviously much easier ways to do that. In general I just need to get temperature and power (and a bunch of other variables) into a flow so that the device can establish setpoints and run operations based on those setpoints.

Yes, the msg = msg was ridiculous, I have removed it. Thanks!

Here is the original thread that started all this subflow discussion. It has background on what I am looking to do with this multi-channel device: [Join the json code from multiple flows into one file](https://discourse.nodered.org/t/join-the-json-code-from-multiple-flows-into-one-file/10361/28)

But in general, are nested subflows bad, good, unreliable, or perfectly fine? I found one post on stack overflow where someone else is doing it... [https://stackoverflow.com/questions/49559267/organize-subflows-in-palette](https://stackoverflow.com/questions/49559267/organize-subflows-in-palette)

---

_[View the full topic](https://discourse.nodered.org/t/are-nested-subflows-a-problem/10610)._
