-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(editor): Set RunData outputIndex based on incoming data (#12182)
- Loading branch information
1 parent
2b267b1
commit dc4261a
Showing
3 changed files
with
123 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
94 changes: 94 additions & 0 deletions
94
cypress/fixtures/Test_ndv_two_branches_of_same_parent_false_populated.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
{ | ||
"nodes": [ | ||
{ | ||
"parameters": { | ||
"conditions": { | ||
"options": { | ||
"caseSensitive": true, | ||
"leftValue": "", | ||
"typeValidation": "strict", | ||
"version": 2 | ||
}, | ||
"conditions": [ | ||
{ | ||
"id": "6f0cf983-824b-4339-a5de-6b374a23b4b0", | ||
"leftValue": "={{ $json.a }}", | ||
"rightValue": 3, | ||
"operator": { | ||
"type": "number", | ||
"operation": "equals" | ||
} | ||
} | ||
], | ||
"combinator": "and" | ||
}, | ||
"options": {} | ||
}, | ||
"type": "n8n-nodes-base.if", | ||
"typeVersion": 2.2, | ||
"position": [220, 0], | ||
"id": "1755282a-ec4a-4d02-a833-0316ca413cc4", | ||
"name": "If" | ||
}, | ||
{ | ||
"parameters": {}, | ||
"type": "n8n-nodes-base.manualTrigger", | ||
"typeVersion": 1, | ||
"position": [0, 0], | ||
"id": "de1e7acf-12d8-4e56-ba42-709ffb397db2", | ||
"name": "When clicking ‘Test workflow’" | ||
}, | ||
{ | ||
"parameters": { | ||
"category": "randomData" | ||
}, | ||
"type": "n8n-nodes-base.debugHelper", | ||
"typeVersion": 1, | ||
"position": [580, 0], | ||
"id": "86440d33-f833-453c-bcaa-fff7e0083501", | ||
"name": "DebugHelper", | ||
"alwaysOutputData": true | ||
} | ||
], | ||
"connections": { | ||
"If": { | ||
"main": [ | ||
[ | ||
{ | ||
"node": "DebugHelper", | ||
"type": "main", | ||
"index": 0 | ||
} | ||
], | ||
[ | ||
{ | ||
"node": "DebugHelper", | ||
"type": "main", | ||
"index": 0 | ||
} | ||
] | ||
] | ||
}, | ||
"When clicking ‘Test workflow’": { | ||
"main": [ | ||
[ | ||
{ | ||
"node": "If", | ||
"type": "main", | ||
"index": 0 | ||
} | ||
] | ||
] | ||
} | ||
}, | ||
"pinData": { | ||
"When clicking ‘Test workflow’": [ | ||
{ | ||
"a": 1 | ||
}, | ||
{ | ||
"a": 2 | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters