# No doing change in subflow

**URL:** <https://discourse.nodered.org/t/no-doing-change-in-subflow/99897>\
**Category:** General\
**Created:** [9 December 2025 08:29 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897 "2025-12-09T08:29:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimbo84](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jimbo84](https://discourse.nodered.org/u/Jimbo84)\
**Post date:** [9 December 2025 08:29 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/1 "2025-12-09T08:29:26Z")

</div>

Hi

I've got a subflow within my setup that does a SQL select and then has a change node after, but for some reason it's never going to the change. if I put a debug in after the SQL command I can see it's returning values in the payload.

I've tried with a different node but it' s like it's neverdoing anythign after the MSSQL node and I can't figure out why as it's not throwing any errors, and if it was I wouldn't expect anything to appear in the debug 2

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/5/558f405809a7269ecc8c063caca3e9c1051e57cd.png)

---

<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:** [9 December 2025 08:45 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/2 "2025-12-09T08:45:47Z")

</div>

Hi.

No magic answer from me here.

But I'm confused.

I (now) realise this is the `subflow`.

So the `sql` node does what it does. I'm also not an `sql` person.

So it does what ever it does.

As `debug` nodes don't work in `subflows`, I'd suggest you move the two nodes out of the subflow and see what is happening there.  
(Maybe on their own tab.)

Do that and `link` to the `sql` node and put the `debug` node - showing entire message.

What do you get there?

Then: what is the `change` node doing?  
Only for the sake of easy viewing, open/edit it and post a screen shot.

Hope this helps in some way.

---

<div class="post-metadata">

**Author:** ![Jimbo84](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jimbo84](https://discourse.nodered.org/u/Jimbo84)\
**Post date:** [9 December 2025 08:50 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/3 "2025-12-09T08:50:06Z")

</div>

The debug does work in subflow as I'm getting the message from debug2? However if that was the case it's still not going to the change as the payload doesn't have the new field I created in the change in the subworkflow.

I've got a very similar thing in another subflow which works fine which is why it's confusing me even more.

I've put the nodes into a main flow instead of a subflow and it works fine

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [9 December 2025 08:52 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/4 "2025-12-09T08:52:23Z")

</div>

Move the nodes around a bit to verify the wires are connected where you think they are.

---

<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:** [9 December 2025 08:53 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/5 "2025-12-09T08:53:03Z")

</div>

Oh. Ok. Sorry. It's been a long time for me.

Does `debug2` show the entire message?

Could you post it?  
(Not that it would mean much for me)  
But....

---

<div class="post-metadata">

**Author:** ![Jimbo84](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@Jimbo84](https://discourse.nodered.org/u/Jimbo84)\
**Post date:** [9 December 2025 08:55 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/6 "2025-12-09T08:55:52Z")

</div>

That's what it was 😫 thanks all for your 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:** [23 December 2025 08:56 UTC](https://discourse.nodered.org/t/no-doing-change-in-subflow/99897/7 "2025-12-23T08:56:19Z")

</div>

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