Compare Datasets "Always output data" behaviour

Describe the problem/error/question

The “compare datasets” node is quite powerful and useful for syncing different datasets. However it has a limitation that hinders workflow development. The setting “Always output data” only outputs an empty node in the case of the first output “A only” having no valid output. It would be very helpful if the other 3 outputs had the same behavior. Does anyone know a way around this?

Please share your workflow

Information on your n8n setup

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

Hi @KenupCF :wave: Sorry for the late reply on this one!

Can you go into a little bit more detail about what you’d expect to see instead? :thinking: Some context might be helpful here!

As it stands, I tried playing around with your example in my own n8n instance, and can’t quite reproduce the functionality that I think you are looking for. :sweat_smile:

Hi @EmeraldHerald

In this case, I’d like for the all 4 outputs of the compare datasets node to always output data (outputing an empty node in case there are no matches).

This would help when designing a workflow that would run some task only after processing the 4 possible outputs.

Hope that helps and thanks for taking the time!

Hi @KenupCF :wave: That sounds like a feature request - I’ll go ahead and move this to the right forum to get some eyes on it :slight_smile:

1 Like

Ah, I guess I got lost hehe. Thanks a bunch!

1 Like