Looping is not processing all the records

Describe the problem/error/question:

My workflow extracts all the pages from confluence and creates a vector store from it. When I execute the workflow, I see all the documents are not inserted in table, it is just processing 21 records wheras there are 216 pages extracted by extract page node:

Please share your workflow

Information on your n8n setup

  • n8n version: 1.101.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Amazon Linux 2023

It’s most likely the 21 or 22 item has a empty output so the workflow stop.

Are you sure every item should have a output? Or check the always output in the node option.

Thank you @darrell_tw
I made the changes that you have suggested. I can see more records being processed but, still not all records are processed. I have added always output for all the nodes now.

This is what fixed the problem.

{{ $('Loop Over Items').context['done'] }}