# Subflow importing, problem with link in & link out

**URL:** <https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728>\
**Category:** General\
**Created:** [7 January 2021 17:00 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728 "2021-01-07T17:00:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tombcat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tombcat/32/33861_2.png) [@Tombcat](https://discourse.nodered.org/u/Tombcat)\
**Post date:** [7 January 2021 17:00 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/1 "2021-01-07T17:00:05Z")

</div>

Hello,  
I tried to import flow with the subflow that already exists in my flow instance by selecting option "import copy", that resulted in "link in" & "link out" were not connected to anything.

As i understand this can be a problem with ID link between specified link nodes.

I think it's a node red core bug to be fixed. Can someone confirm it's a common issue?

---

<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 January 2021 17:02 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/2 "2021-01-07T17:02:19Z")

</div>

Can you provide some more details of the scenario? Where are the link in/out nodes? Entirely inside the subflow? Or linking in/out of the subflow?

---

<div class="post-metadata">

**Author:** ![Tombcat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tombcat/32/33861_2.png) [@Tombcat](https://discourse.nodered.org/u/Tombcat)\
**Post date:** [7 January 2021 17:02 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/3 "2021-01-07T17:02:50Z")

</div>

The link nodes were Entirely inside the subflow

---

<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 January 2021 17:07 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/4 "2021-01-07T17:07:14Z")

</div>

I can't immediate recreate that here - if I import a copy of a subflow containing link nodes, all of the links still exist in the copy as expected.

What version of Node-RED are you using?

---

<div class="post-metadata">

**Author:** ![Tombcat](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tombcat/32/33861_2.png) [@Tombcat](https://discourse.nodered.org/u/Tombcat)\
**Post date:** [7 January 2021 17:20 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/5 "2021-01-07T17:20:31Z")

</div>

Node-red version 1.2.6

I have to admit now when i try to recreate the problem everything is linked without an issue, but as long i know this is not first time when the links in the subflow weren't connected after importing. Can't really say what triggers the problem as it happens randomly.

---

<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:** [8 March 2021 17:20 UTC](https://discourse.nodered.org/t/subflow-importing-problem-with-link-in-link-out/38728/6 "2021-03-08T17:20:33Z")

</div>

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