In your TrainingEvent you have an ENUM_Location (location of trainingsevent) and an ENUM_SeatPosition (specific place)
You want to select the TrainingEvent based on Location and SeatPositon type filled at an entity?
For this example you have an entity called $Student with attributes Location (Enum_Location) and SeatPosition (Enum_SeatPosition).
If you use Xpath Constraints you can return the TrainingEvent with
[Location = $Student/Location]
[SeatPositon = $Student/SeatPosition]
Be aware then the Enumerations in both entity's must match, if not you must take this into account in your Xpath.
You are looking for the constrained by function. See the documentation here: https://docs.mendix.com/refguide/reference-selector/#constrained-by
Regards,
Ronald
Thanks, I followed the documentation for the constrained by function and it is not working. When adding the constrained function it won't pull back any records.
Here are the screenshots.