XPath Constraint In Retrieve Activity - Nested Association?
Hi – I have a Retrieve activity in a microflow, and I’m using an XPath constraint on an entity in that Retrieve activity. I have a “nested” association where the Retrieve activity is pointing to entity A, but I eventually need to get to entity C to get to the field I need to constrain by. Is it possible to specify an association that goes multiple levels deep? Example: entity A joined to entity B, and entity B joined to entity C. Entity C is where I need to specify the XPath constraint (but I am retrieving from entity A). Any help appreciated; thank you!
I found a tip under this thread https://forum.mendix.com/link/questions/8811, and I think all I would need to add after the second association is /<field> for the criteria I need to apply. Let me know if that is the right track … I will test
You are on the right track. With XPath you can go as deep as you want over the associations.