Outside Loop doesn't work

Describe the problem/error/question

I want to see, for each client I have, which medications are still available. The problem here is:

Already have the loop for the meds working, but when that loop ends and goes to done, it gets another client, but when it comes back to the loop of the med, it always goes to done and doesn’t start a new loop

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Hello @NazZ

Do you actually need the first loop?
n8n is designed to iterate through items by default.

Does removing it give you the result you want?

1 Like

Hi @mohamed3nan

You are right, I don’t need the first loop. As get med send all the iterations to the loop

1 Like

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