I am working on e-commerce application, I want to filter my products in the wishlist according to the logged in user. I have already associated my entity with Administration.Account entity. When I try to set association in microflow it shows error. Please help me with steps and screenshots. Need help in writing XPath for this filter. I have refered this site : https://forum.mendix.com/link/questions/97250
$currentUser is a System.User object. The Account entity extends System.User (specialisation), so you cannot use your $currentUser as an Account.
You could retrieve the current Account from the database and use it in your ‘change object’ activity:
Retrieve activity from database, entity Account, constraint [id = $currentUser]
Then do the change object activity (from your screenshot) with ‘CurrentAccount’ you just retrieved instead of $currentUser
Hope this helps!
Can you add a image of your domain model MyFirstModule and Administration?