{ "name": "verify-rss-skip-on-error", "nodes": [ {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}}, {"id": "dead", "name": "Dead Feed", "type": "rss-reader", "position": {"x": -150, "y": 100}, "config": {"url": "http://10.255.255.1/feed.xml", "timeout": 1000, "retries": 0, "skipOnError": true, "detectNewItems": false, "maxItems": 0}}, {"id": "alive", "name": "Live Feed", "type": "code", "position": {"x": 150, "y": 100}, "config": {"code": "return { items: [ { title: 'one', enclosure: { url: 'https://cdn/1.jpg' } }, { title: 'two', enclosure: { url: 'https://cdn/2.jpg' } } ] };"}}, {"id": "merge", "name": "Merge", "type": "merge", "position": {"x": 0, "y": 220}, "config": {"mode": "combine-by-key", "key": "enclosure.url", "path1": "items", "path2": "result.items"}}, {"id": "check", "name": "Check", "type": "code", "position": {"x": 0, "y": 340}, "config": {"code": "const d = input.data || input; return { survived: (d.merged || []).length };"}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "dead", "targetInput": "data"}, {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "alive", "targetInput": "data"}, {"sourceNodeId": "dead", "sourceOutput": "main", "targetNodeId": "merge", "targetInput": "input1"}, {"sourceNodeId": "alive", "sourceOutput": "main", "targetNodeId": "merge", "targetInput": "input2"}, {"sourceNodeId": "merge", "sourceOutput": "main", "targetNodeId": "check", "targetInput": "data"} ], "expectStatus": "completed", "expect": { "dead": {"status": "completed", "output": {"success": false, "itemCount": 0}}, "merge": {"status": "completed", "output": {"count": 2}}, "check": {"status": "completed", "output": {"result": {"survived": 2}}} } }