Code Node set to Run Once is running For Each

Describe the problem/error/question

Code node (“Calculate Bookmark”) set to run once is running on each.

Please share your workflow

Share the output returned by the last node

Expect item_count to equal the number of input objects

Information on your n8n setup

Debug info

core

  • n8nVersion: 1.108.1
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.17.0
  • database: sqlite
  • executionMode: regular
  • concurrency: -1

Hi @hukel

It’s because of the Loop Over Items node..
You’re connecting the Calculate Bookmark DateTime and Set Execution Metadata node inside the loop path, but you probably meant to connect it to the done output of the loop node instead..

1 Like

Thank you. This seems to be working.

1 Like

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