How to filter XPath by child entity attributes

0
HIThe current situation is that there is an entity B that inherits from entity A, and entity B has a single Boolean property. Now, when using `Retrieve by xpath` in MF, the Return Object Type is A, but I want to filter based on the Boolean property of the child entity B. How can I do this?
asked
1 answers
0

Hi Bi Sung Kim,


In Mendix XPath, filter the parent (A) by the child (B) Boolean using the association path:


[YourModule.EntityA_EntityB/YourModule.EntityB/IsActive = true()]


This retrieves Entity A records that have a related Entity B where the Boolean is true.


answered