Trigger node with link call

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 (3.2 KB)

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

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

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

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

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