Norhaa
June 25, 2024, 1:36pm
1
Hello, I’m having a hard time understanding how loops work in n8n.
My nested loop seems to continue even if the condition is true and add a video to the playlist.
Is there any way so that it stops before it goes through all the items, or is there an other way to achieve what I want ?
Thanks in advance for your help !
n8n version: : 1.45.1
Database (default: SQLite): : SQLite
n8n EXECUTIONS_PROCESS setting (default: own, main): own
Running n8n via (Docker, npm, n8n cloud, desktop app): docker
Operating system: : windows
n8n
June 25, 2024, 1:36pm
2
It looks like your topic is missing some important information. Could you provide the following if applicable.
n8n version:
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
Running n8n via (Docker, npm, n8n cloud, desktop app):
Operating system:
barn4k
June 25, 2024, 1:49pm
3
hello @Norhaa
Nested loops won’t work. Instead, use the sub workflow with the Execute Workflow Node
2 Likes
Norhaa
June 25, 2024, 3:24pm
4
I modified as you said and it worked, thank you so much !
system
Closed
July 2, 2024, 3:24pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.