SplitinBatches "noItemsLeft" doesn't reset after full run

Hi,
i’m trying to build a loop for making API requests. Everything is working as expected except the SplitInBatches node.

After 100 items, the “IF1” node is supposed to turn “true” based on the SplitinBatches context in order to change the pagination site. But after the second run, the noItemsLeft context of SplitInBatches remains “true”. Is it possible to reset that value?

Please share the workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.187.2
  • Database you’re using (default: SQLite): SQLite
  • Running n8n via Docker

Hi @luca_zenkai

Don’t think this is possible.
It would need a specific change in the node itself to fix it.