Should a link call work inside a subflow?

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?

[{"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":[]}]

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

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

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