My Loop does not work

Hello Hivemind,

I am trying to do a simple thing - a loop. The loop should start at a given date, do a subflow and iterate to the next day and do this until it reaches today.
It is working without the subflow, but it fails with the flow activated.

Describe the problem/error/question

The date gets either stuck or gets set to seemigly random dates.

What is the error message (if any)?

No error message.

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

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

Hi @Manuel

I need a little more context of what you are trying to do, but in general, when you’re trying to loop over items there is a node for that in particular:

It looks like you are trying to do some date formatting until your dataset has reached the current date? Can you share your workflow with some pinned data to see what which input you are working with? Also feel free to also share the subworkflow for better context.

Thanks! :blush:

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