# Alternative to subflow

**URL:** <https://discourse.nodered.org/t/alternative-to-subflow/68286>\
**Category:** General\
**Created:** [27 September 2022 10:45 UTC](https://discourse.nodered.org/t/alternative-to-subflow/68286 "2022-09-27T10:45:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [27 September 2022 10:45 UTC](https://discourse.nodered.org/t/alternative-to-subflow/68286/1 "2022-09-27T10:45:27Z")

</div>

Is there a new feature in NodeRED that provides alternative functionality to subflows? Some kind of function template

I'm sure I read about it somewhere (/watched a video).

I recall thinking "wow, there are now three different ways to do a subflow - nice to know, but I'll never remember and probably never use it" but now I'd like to remember and use it.

I found node-red-contrib-reusable-flows, which is the kind of thing I'm talking about, but it doesn't look like it's part of NodeRED core and wondered if such a thing existed.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 September 2022 11:07 UTC](https://discourse.nodered.org/t/alternative-to-subflow/68286/2 "2022-09-27T11:07:33Z")

</div>

I'm guessing you mean link-call which gives you subroutine like capabilities?

Look at the second image in this post: [How to process multiple data - #7 by Steve-Mcl](https://discourse.nodered.org/t/how-to-process-multiple-data/58367/7) it indicates how to avoid duplicate code (DRY) using link call

---

<div class="post-metadata">

**Author:** ![hazymat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hazymat/32/108159_2.png) [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Post date:** [27 September 2022 11:14 UTC](https://discourse.nodered.org/t/alternative-to-subflow/68286/3 "2022-09-27T11:14:32Z")

</div>

Thanks, that's it!

---

<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:** [11 October 2022 11:15 UTC](https://discourse.nodered.org/t/alternative-to-subflow/68286/4 "2022-10-11T11:15:10Z")

</div>

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