Split in Batches exiting before looping all items

Describe the problem/error/question

I have an split in batches that outputs its done content into two list nodes before a merge node that “wait both inputs”. It should execute the lists nodes only after the loop is done, but it’s executing while the fist loop is running.

I made some testes and found out that if my done branch is connected to the merge node, it triggers this error. When I disconnect the merge node, the loop runs fine.

How can I stop the done branch from outputting when it’s not really done?

What is the error message (if any)?

ERROR: Couldn’t find the field ‘created_at’ in the input data (because the done branch is not Done)

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.231.2
  • Database :SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via Docker

That could be one of the issues that should also be fixed after this PR got merged:

You could give this branch a try and see if it actually fixes the issue.

How can I give it a try? Is there an how to where I can follow?

I made the workflow linear instead of parallel with merge. It worked.

Maybe it can help someone =)

2 Likes

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