# Trigger node with link call

**URL:** https://discourse.nodered.org/t/trigger-node-with-link-call/79830
**Category:** General
**Created:** [14 July 2023 20:50 UTC](https://discourse.nodered.org/t/trigger-node-with-link-call/79830 "2023-07-14T20:50:30Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![harelabb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harelabb/32/27450_2.png) [@harelabb](https://discourse.nodered.org/u/harelabb)
#### Post date: [14 July 2023 20:50 UTC](https://discourse.nodered.org/t/trigger-node-with-link-call/79830/1 "2023-07-14T20:50:31Z")

</div>

I have a problem with a trigger node inside a link-in/link out sequence called by a link call node.  
All the messages that are 'swallowed' by the trigger node to extend delay cause timeout errors.

[flows.json](https://discourse.nodered.org/uploads/short-url/6RcRn7SzqyrfmlmXYtBV0wHPpf2.json) (3.2 KB)

It seems as if all messages in must result in a message out. Is there any way around this?

---

<div class="post-metadata">

### Author: ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)
#### Post date: [14 July 2023 22:29 UTC](https://discourse.nodered.org/t/trigger-node-with-link-call/79830/2 "2023-07-14T22:29:45Z")

</div>

The timeout error comes from the link call node.  
You can use a catch node to intercept and handle or ignore these errors.

 ![Untitled 7](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/2/f28952b316e810d2e89d81080b8122a935cf76e6.jpeg)

```auto
[{"id":"e1d56cd20ef2c678","type":"link in","z":"03d21a528957832c","name":"test link","links":[],"x":110,"y":120,"wires":[["01fee7f603d7516b"]],"l":true},{"id":"8185910c0e9b4dce","type":"inject","z":"03d21a528957832c","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"true","payloadType":"bool","x":110,"y":200,"wires":[["066e1499c3daf29e"]]},{"id":"01fee7f603d7516b","type":"trigger","z":"03d21a528957832c","name":"","op1":"","op2":"","op1type":"pay","op2type":"pay","duration":"10","extend":true,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":2,"x":290,"y":120,"wires":[["db8fffd307e6d00b"],["207e72049cef301e"]]},{"id":"db8fffd307e6d00b","type":"link out","z":"03d21a528957832c","name":"","mode":"return","links":[],"x":615,"y":120,"wires":[]},{"id":"207e72049cef301e","type":"change","z":"03d21a528957832c","name":"false","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":490,"y":160,"wires":[["db8fffd307e6d00b"]]},{"id":"066e1499c3daf29e","type":"link call","z":"03d21a528957832c","name":"","links":["e1d56cd20ef2c678"],"linkType":"static","timeout":"30","x":280,"y":200,"wires":[["30a520bd8a92564c"]]},{"id":"30a520bd8a92564c","type":"debug","z":"03d21a528957832c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","statusVal":"payload","statusType":"msg","x":470,"y":200,"wires":[]},{"id":"b97bfb9ec10b907e","type":"catch","z":"03d21a528957832c","name":"","scope":["066e1499c3daf29e"],"uncaught":false,"x":270,"y":260,"wires":[["e594e61f7d6baf24"]]},{"id":"e594e61f7d6baf24","type":"debug","z":"03d21a528957832c","name":"debug 390","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":490,"y":260,"wires":[]}]

```

---

<div class="post-metadata">

### Author: ![harelabb](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/harelabb/32/27450_2.png) [@harelabb](https://discourse.nodered.org/u/harelabb)
#### Post date: [14 July 2023 23:45 UTC](https://discourse.nodered.org/t/trigger-node-with-link-call/79830/3 "2023-07-14T23:45:49Z")

</div>

> [@jbudd](#):
>
> The timeout error comes from the link call node.  
> You can use a catch node to intercept and handle or ignore these errors.

That seems as a good idea. I believe the errors from the link call node can safely be ignored.

---

<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: [28 July 2023 23:46 UTC](https://discourse.nodered.org/t/trigger-node-with-link-call/79830/4 "2023-07-28T23:46:25Z")

</div>

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