{ "name": "verify-single-node-target-loop-iteration-out-of-range", "nodes": [ {"id": "n1", "name": "Trigger", "type": "click-trigger", "position": {"x": 0, "y": 0}, "config": {}}, {"id": "items", "name": "Items", "type": "code", "position": {"x": 0, "y": 100}, "config": {"code": "return { items: ['a', 'b', 'c'] };"}}, {"id": "loop", "name": "Loop", "type": "loop", "position": {"x": 0, "y": 200}, "config": {"inputField": "data.result.items"}}, {"id": "work", "name": "Work", "type": "set-fields", "position": {"x": 0, "y": 300}, "config": {"mode": "only-set", "fields": [{"name": "seen", "value": "{{loop.item}}"}]}} ], "connections": [ {"sourceNodeId": "n1", "sourceOutput": "main", "targetNodeId": "items", "targetInput": "data"}, {"sourceNodeId": "items", "sourceOutput": "main", "targetNodeId": "loop", "targetInput": "data"}, {"sourceNodeId": "loop", "sourceOutput": "loop", "targetNodeId": "work", "targetInput": "data"}, {"sourceNodeId": "work", "sourceOutput": "main", "targetNodeId": "loop", "targetInput": "data"} ], "trigger": {"_targetNodeId": "work", "_targetLoopIteration": 7}, "expectExecutionAbsent": ["work"], "expectExecution": { "status": "failed", "singleNodeTarget": "work", "singleNodeIteration": 7 }, "expectExecutionError": "Requested loop iteration 7" }