# Should a link call work inside a subflow?

**URL:** https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945
**Category:** General
**Created:** [7 February 2022 19:11 UTC](https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945 "2022-02-07T19:11:33Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Timmiej93](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/timmiej93/32/54337_2.png) [@Timmiej93](https://discourse.nodered.org/u/Timmiej93)
#### Post date: [7 February 2022 19:11 UTC](https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945/1 "2022-02-07T19:11:33Z")

</div>

I'm not sure if this is by design or not, but link calls aren't working for me inside subflows.

Outside of a subflow, the configuration below works just fine. Inside a subflow (replace the inject node with the input node of the subflow) it doesn't work at all. Neither of the debug nodes print to the console, and the link call times out.

Is this a bug, or is this by design for some odd reason?

```auto
[{"id":"3dfb738b2a509342","type":"inject","z":"f6f2187d.f17ca8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":1550,"y":520,"wires":[["6b3d94f583463697"]]},{"id":"6b3d94f583463697","type":"link call","z":"f6f2187d.f17ca8","name":"","links":["2f582df88816315c"],"timeout":"30","x":1680,"y":520,"wires":[["0a4b1d16399e7032"]]},{"id":"2f582df88816315c","type":"link in","z":"f6f2187d.f17ca8","name":"test","links":[],"x":1525,"y":640,"wires":[["96e1a984d0958b83","4cb576247b8c6b40"]]},{"id":"4cb576247b8c6b40","type":"link out","z":"f6f2187d.f17ca8","name":"","mode":"return","links":[],"x":1625,"y":640,"wires":[]},{"id":"96e1a984d0958b83","type":"debug","z":"f6f2187d.f17ca8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1660,"y":600,"wires":[]},{"id":"0a4b1d16399e7032","type":"debug","z":"f6f2187d.f17ca8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1830,"y":520,"wires":[]}]

```

---

<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: [7 February 2022 23:26 UTC](https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945/2 "2022-02-07T23:26:41Z")

</div>

> [@Timmiej93](#):
>
> Is this a bug, or is this by design for some odd reason?

Possibly a bit of both. Please raise an issue on github so we can investigate properly

---

<div class="post-metadata">

### Author: ![Timmiej93](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/timmiej93/32/54337_2.png) [@Timmiej93](https://discourse.nodered.org/u/Timmiej93)
#### Post date: [9 February 2022 11:08 UTC](https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945/3 "2022-02-09T11:08:43Z")

</div>

Done. For those who want to follow along: [https://github.com/node-red/node-red/issues/3404](https://github.com/node-red/node-red/issues/3404)

---

<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: [10 April 2022 11:09 UTC](https://discourse.nodered.org/t/should-a-link-call-work-inside-a-subflow/57945/4 "2022-04-10T11:09:04Z")

</div>

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