# LINK CALL node - question : Allow Link in to identify call nodes

**URL:** <https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809>\
**Category:** Feature Requests\
**Created:** [22 January 2024 21:55 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809 "2024-01-22T21:55:24Z")\
**Posts on this page:** 15\
**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:** [22 January 2024 21:55 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/1 "2024-01-22T21:55:24Z")

</div>

Sorry folks, today's dumb question:

I am new to using `LINK -CALL`.

I see a _problem_:  
I have a _routine_ called by/with that node.

I am at the routine.  
How do I _find_ the `LINK-OUT` nodes that call it?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 22:01 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/2 "2024-01-22T22:01:57Z")

</div>

Hi @Trying_to_learn

I might have your question wrong.

But at the end of your routine (in the link **LINK OUT** ) - set it to "Return To Calling Link Node"  
and it will end up on the right side of the link call node

 ![Screenshot 2024-01-22 at 22.00.50](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/e/1e14f18e6e0c126c3f1d755d755392c36fbc1c9d.png)

---

<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:** [22 January 2024 22:04 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/3 "2024-01-22T22:04:56Z")

</div>

Yeah, sorry, I get that.

Flow 1: I have a `link-call` node. It goes to another flow. (unknown at time of testing)  
Flow 2: Has the `link-in` node, and code.

I am on flow 2 looking at the code but want to see any/all `link-call` nodes that call it.

I seem to be missing something in how to find that information.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 22:06 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/4 "2024-01-22T22:06:23Z")

</div>

Good spot!

it doesn't seem to show you

the call node only shows it - but not the other way

---

<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:** [22 January 2024 22:08 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/5 "2024-01-22T22:08:15Z")

</div>

I get it that how I am doing it is problematic as it could/would/should show ALL nodes calling it.

But is kinda what I need to know.

I have since found the code (flow 1 in my example).

But gee it was painful.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 22:11 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/6 "2024-01-22T22:11:17Z")

</div>

I have updated the category and updated the title - to reflect the overlook

**/CC:Core Team** - Link In Nodes, do not have Link call nodes identified, in the way they do for lInk out nodes

---

<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:** [22 January 2024 22:13 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/7 "2024-01-22T22:13:36Z")

</div>

(Thanks. my vocab{} isn't working as good as I would like)

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [22 January 2024 22:14 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/8 "2024-01-22T22:14:44Z")

</div>

Well it was a question: that turned into a needed enhancement request - so you're good! 😄

---

<div class="post-metadata">

**Author:** ![Sean-McG](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/sean-mcg/32/54677_2.png) [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Post date:** [22 January 2024 23:02 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/9 "2024-01-22T23:02:23Z")

</div>

I'm going to go out on a limb here 😟

The node doesn't know what is connected as it relies on that info being passed at run time ?  
And the only way to find out would be to work backwards through all the branches of the flow.

Just a guess 😉

---

<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:** [22 January 2024 23:07 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/10 "2024-01-22T23:07:35Z")

</div>

Yeah, that sounds plausible.

Just it kinda caught me and it took me a while to find the calling nodes.

I guess there is no easy way around it?

# Though - thinking......

Ok, let's break it down:  
You have the CALL, IN and OUT nodes.

You name the IN node and set the OUT to return to calling node.  
Then in the CALL node, you connect to the IN by name.  
And as it is a CALL, you can have multiple IN nodes calling it.

So that is known.

Ok, now we are going into something I've mentioned before with these nodes.  
In their GUI, there should be an option to show ONLY CONNECTED nodes.

So that way at least you can better see who's connected to whom.

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [23 January 2024 00:04 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/11 "2024-01-23T00:04:17Z")

</div>

The link-in and link-out nodes, when connected both maintain a list of their connections to each other in a property `links`. That's how/why they know about each other.

However, a link-in node does NOT get an entry for link-call nodes so does not know which link-call nodes are connected.

I am not saying the link-in nodes could not be updated to add this info but it is not operationally required and essentially that's why the link-call id is not added to the link-in node (IIRC).

As to your original question:

> [@Trying\_to\_learn](#):
>
> I am on flow 2 looking at the code but want to see any/all `link-call` nodes that call it

You can search : [Search link call nodes in the editor - #4 by Steve-Mcl](https://discourse.nodered.org/t/search-link-call-nodes-in-the-editor/84278/4)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 January 2024 15:48 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/12 "2024-01-23T15:48:17Z")

</div>

I give meaningful names to all my link In nodes that are to be used via link call, and expand them so that they show the name. Similarly I give all the link call nodes the same name and expand them. Then it is easy to see what a link call node is calling and also easy to search for all calling links.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [23 January 2024 17:27 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/13 "2024-01-23T17:27:33Z")

</div>

I use many link-calls - but I see them as "reusable functions" - if you know what flow needs the "reusable function" there is no need for the link-call node to indicate anything as you are only passing on messages that gets returned after processing, but naming them (the link-in) is essential in my experience.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [23 January 2024 20:53 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/14 "2024-01-23T20:53:39Z")

</div>

A problem can arise if, for example, you have 20 calls to the linked procedure from a number of flows. If one wanted to add to or change the format of the data passed in then one might need to find all the places where it is called in order to update them.

---

<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:** [23 March 2024 20:53 UTC](https://discourse.nodered.org/t/link-call-node-question-allow-link-in-to-identify-call-nodes/84809/15 "2024-03-23T20:53:41Z")

</div>

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