# Importing sub flows. Something isn't working

**URL:** <https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805>\
**Category:** General\
**Created:** [2 January 2020 05:26 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805 "2020-01-02T05:26:22Z")\
**Posts on this page:** 5\
**Page:** 1

<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:** [2 January 2020 05:26 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805/1 "2020-01-02T05:26:22Z")

</div>

In reference to this thread:

[My last post.](https://discourse.nodered.org/t/is-anyone-here-interested-in-train-signals-and-how-they-work/19759/16)

Ok, you may need to look towards the top.

I posted a subflow.

I stuffed up, and wanted to go back to the working version I posted.

I copy/paste/import it to NR.

None of the internal links exist.

The _links_ to/from the output/input are there. But no internal links.

ARGH!

This shouldn't happen - yeah?

---

<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:** [2 January 2020 07:27 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805/2 "2020-01-02T07:27:07Z")

</div>

Update:

I tested exporting a sub-flow and re-importing it.

It doesn't work. ie: `link`s are **not** honoured.

Walk through:

`input` node. ---\> `change` node. --\> `link out` node. ----\> `link in` node --\> `output` node.

(Not rocket science)

I exported the flow to the clipboard.

Renamed it to `3 O`

Imported it and you tell me.

 ![Screenshot from 2020-01-02 18-23-50](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/94d32ed50f5477fc7ac9a51647a0f3a603481c99.png) ![Screenshot from 2020-01-02 18-23-56](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1ceb018b6671cacdb81a4decb3bcdb2c11837101.png)

**Is this a bug?**

---

<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:** [2 January 2020 08:18 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805/3 "2020-01-02T08:18:46Z")

</div>

> [@Trying\_to\_learn](#):
>
> Is this a bug?

Yes. What version of Node-RED is this on?

---

<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:** [2 January 2020 08:20 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805/4 "2020-01-02T08:20:39Z")

</div>

(Greatest apologies for negating this. I'm kind of swamped with a _project_.)

1.0.3  
Dashboard 2.19.3  
Node 10.17.0

Ubuntu 18.0.4 LTS  
(what else? sorry)

---

<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:** [2 January 2020 08:31 UTC](https://discourse.nodered.org/t/importing-sub-flows-something-isnt-working/19805/5 "2020-01-02T08:31:49Z")

</div>

Thanks for reporting. No more info required. Will investigate.
