# Subflow Parameter Limitation

**URL:** <https://discourse.nodered.org/t/subflow-parameter-limitation/28348>\
**Category:** Feature Requests\
**Created:** [15 June 2020 10:13 UTC](https://discourse.nodered.org/t/subflow-parameter-limitation/28348 "2020-06-15T10:13:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [15 June 2020 10:13 UTC](https://discourse.nodered.org/t/subflow-parameter-limitation/28348/1 "2020-06-15T10:13:19Z")

</div>

I wish subflow has more input options will accept msg or JSONata.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/a/c/acc606440605832c31c7963274394d2ee65165f6.png)

I mean you can pass msg object into subflows, so why not just allow it as a parameter field?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [15 June 2020 10:15 UTC](https://discourse.nodered.org/t/subflow-parameter-limitation/28348/2 "2020-06-15T10:15:38Z")

</div>

Subflow properties act like environment variables. They are statically set when the flow is deployed - they cannot dynamically change. This is why it doesn't offer those options.

---

<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:** [14 August 2020 10:16 UTC](https://discourse.nodered.org/t/subflow-parameter-limitation/28348/3 "2020-08-14T10:16:02Z")

</div>

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