Hi Sankar,
You can do this by checking the attribute with the value of the enumeration.
Example;
Entity a with attributes B of type enumeration.
Values of enumeration: x1, x2, x3.
If you want to have the Xpath constraint for value x2 you need to put
[B=’x2’]
in your retrieve.
See also other topics on this issue on the forum.
https://forum.mendix.com/link/questions/94662
Use below format for your purpose completion:
[EnumerationAtttribute= ‘value1’]
I hope I got your question correct.
Thanks.