Split in batches execution order

Describe the problem/error/question

hi, assume using split in batches node, and i have 2 items as input and batch size is 1.
While running; does it wait for the execution of first item to finish before starting the second one, or are they are run in parallel ?

If in parallel, is there an easy solution for it to wait ?

tnx

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.8.2
  • Database (default: SQLite): postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main): main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Mac OS Ventura 13.5.2

hello @slenderwrist

They will be executed sequentially (one-by-one) like in any Loop. So yes, it waits when the first item will be processed.

1 Like

Hi @slenderwrist

A quick note to highlight that n8n processes each item in the node’s input individually, so it is already looping items by default. For the most basic cases, you don’t even need to use the Loop node.

You can find more info here: Looping | n8n Docs

Hope it helps!

1 Like

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