# Why cant I get status of a node which is inside the subflow?

**URL:** <https://discourse.nodered.org/t/why-cant-i-get-status-of-a-node-which-is-inside-the-subflow/70028>\
**Category:** General\
**Created:** [3 November 2022 14:13 UTC](https://discourse.nodered.org/t/why-cant-i-get-status-of-a-node-which-is-inside-the-subflow/70028 "2022-11-03T14:13:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/josh/32/62208_2.png) [@Josh](https://discourse.nodered.org/u/Josh)\
**Post date:** [3 November 2022 14:13 UTC](https://discourse.nodered.org/t/why-cant-i-get-status-of-a-node-which-is-inside-the-subflow/70028/1 "2022-11-03T14:13:43Z")

</div>

I am trying to get the status of a postgres node which is inside a subflow. I have a catch node outside the subflow to catch errors of the postgres node. But when I try I am unable to get the status of the postgres node. It works fine if I take the node out of the subflow.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 November 2022 15:11 UTC](https://discourse.nodered.org/t/why-cant-i-get-status-of-a-node-which-is-inside-the-subflow/70028/2 "2022-11-03T15:11:58Z")

</div>

You can enable status of the subflow  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e029cc0c4f4dd27ff0f59ea5b4510688c1dd0ede.png)  
and then inside the subflow wire up the catch node / or status node to that new "output"  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/c/cc5ce963c1d3fa1b10b5c0375d28edb2e4d84507.png)  
then outside the status node you should be able to use a status node to get it.

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

---

<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:** [17 November 2022 15:12 UTC](https://discourse.nodered.org/t/why-cant-i-get-status-of-a-node-which-is-inside-the-subflow/70028/3 "2022-11-17T15:12:51Z")

</div>

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