# Parameters in subflow

**URL:** <https://discourse.nodered.org/t/parameters-in-subflow/59925>\
**Category:** Feature Requests\
**Created:** [16 March 2022 12:49 UTC](https://discourse.nodered.org/t/parameters-in-subflow/59925 "2022-03-16T12:49:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![msillano](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/msillano/32/17424_2.png) [@msillano](https://discourse.nodered.org/u/msillano)\
**Post date:** [16 March 2022 12:49 UTC](https://discourse.nodered.org/t/parameters-in-subflow/59925/1 "2022-03-16T12:49:42Z")

</div>

### Context:

_For a variety of reasons, unfortunately a user must always customize and edit the flows of my current project. I want to provide the user with a series of subflows that simplify this task._

### Problem:

I would like to limit the 'type' of the parameters values entered by the user of the subflow.  
This would simplify the code in the subflow and also make the use easier for the user, who would not always have to resort to help instructions.

### Actual:

In Design:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/1/e1908e2daebe23e2aa71f9852c3090fb5432545a.png)  
(the dropdown is only for the default value)

In Production:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/6/a6384155180da318a5a62fb804a7d1f26cc9a40c.png)  
(the user can insert enything)

### New:

New design:

 ![Immagine 2022-03-16 123723](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/e/5e8fcf4f777c2e186db46365aae68a0c191f4090.png)

New Production

 ![figxx2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9abe4b23548436ec649ab3e067310d992c0dc76d.png)

### notes

- My code is too specific and useless out of the project to create new nodes - it really is a 'subflow'.
- The proposed feature is additive: with the default 'all' the behavior is the same as the current one.
- Increases the robustness and reliability of artifacts.

Best regards  
m.s.

---

<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:** [16 March 2022 12:58 UTC](https://discourse.nodered.org/t/parameters-in-subflow/59925/2 "2022-03-16T12:58:56Z")

</div>

Sorry, am i missing something here?

This can already be done.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/d/0d6edb47853305e4d3512bdf89af6c1d07407b56.png)

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/d/8de7b497a8f6e85ab4ba66983fe047cb3e01b8b4.png)

---

<div class="post-metadata">

**Author:** ![msillano](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/msillano/32/17424_2.png) [@msillano](https://discourse.nodered.org/u/msillano)\
**Post date:** [16 March 2022 17:34 UTC](https://discourse.nodered.org/t/parameters-in-subflow/59925/3 "2022-03-16T17:34:06Z")

</div>

My mistake, sorry: never explored the stating '\>' !!!  
Very stupid man.

You can delete the post.  
Thanks for the patience and the fast reply.

Best regards.  
m.s.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 March 2022 21:27 UTC](https://discourse.nodered.org/t/parameters-in-subflow/59925/4 "2022-03-16T21:27:09Z")

</div>


