Maybe it's still a result of the new year celebration, but I can not figure out how I can use the following in Mendix/XPath. I want to select all my Employee's who work on a Location which matches a Location in a list. I have a MF with a $LocationList variable, and do a retrieve on the Employee entity and make a XPath like: [Employee/Employee_Location = $LocationList] , this results in a error that LocationList is of the unsupported type List. I would suspect something like [Employee/Employee_Location IN $LocationList] , but I'm unable to get my head around it.
This cannot be achieved in XPath.
Only modeling solutions I see is;
Loop through location list and retrieve employees of single location and add to a (empty)list