Split out node not working consistently with arrays, any helpful input?

Hey everyone!

So I’m running into an issue that I want to iterate over an array.
With fixed it is working in the Split Out node but with expression it isn’t, while targeting the same input.

Does anyone know the problem here and how I should fix this?
I wrote some JS through AI that made it consistent, is that the best workflow?

Thanks!


Latest version, db default, latest macOS, n8n cloud

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @mundanewaves ,

I can reproduce this and it doesn’t make sense to me either.
It looks like n8n is trying to apply a string-function (split) to an array (only in expression mode). Looks like a bug to me.

Best, Ingo

1 Like

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