Trying to check if two list have the same elements

Hi there,

What I wanted to do is to check if two list have the same elements. I’ve tried with a python node, but it doen’t work:


Hi Manel,

Here I found a way to achieve your approach, but it might be possible to achieve the same with a shorter workflow.

Best regards,

Alejandro Mata

Gracias Alejandro!



Nice work Vikram!

Your workflow is much more efficient :slight_smile:

Best regards,

Alejandro Mata

Thks Vikram.

Below is an option that can compare two non-identical lists and spits out unique items per list as well as shared items. (Very helpful with interop efforts)

“SetDifference” should provide another alternative for this:

1 Like