Retreiving Objects with attributes of current user

Hallo.  I’ve got the Following entities:        1. Employee, inherits from Administration.Account, associated with Location Location, associated with Order and Employee Order, associated with Location   Now I would like to receive all Orders with the same Location as the Employee, whos is currently logged in, in a data grid or a list view. I’ve already tried xPath and miroflows. I just can’t solve it. Do you have an idea how I can achieve the wanted result?   Best regards, Dimitrij
1 answers

So if i understand your domain model correctly:

You can retrieve all Orders of the same location of the user with this xpath

[MyFirstModule.Order_Location/MyFirstModule.Location/MyFirstModule.Employee_Location = $currentUser]