It uses the GUID or unique identifier for each object generated by Mendix. If you want to compare attribute values, you’ll need to do that yourself in a microflow.
Hi Robert,
The UNION usually selects only distinct values by default.
So if you are passing Duplicated list for both places then it will gives you unique list only.
Hope it helps!
Thanks & Regards,
Manikandan K