Check xpath with enumeration

1
Hi, I am new to mendix. I have entity SICDescriptionOverride in which Country attribute is enumeration. I am trying to retrieve the SICDescritpion entity object where country =’USA’.   If I try to pass Country as USA I am getting below error. Can I know how can I pass and check a value in enumeration?  
asked
2 answers
4

Hi Bharathi,

in Microflow actions, instead of the Enum value (in your case ‘ROW’) it should be ModuleName.EnumerationName.EnumerationValue.

 

E.g. in my example screenshot below my Enum value I want is ‘Technical_Approval___CaPa’ but to select it I have to type ModuleName.EnumerationName.EnumValueName.

TIP: after typing ModuleName. + first few letters of your Enum name press CTRL + SPACE to see your options.

answered
1

You should fill out the whole path of your enum. So if Row is a value of an enumeration called yourenumname in the moduel yourmodulename it look something like:

[CountryCode = yourmodulename.yourenumname.Row]

Regards,

Ronald

 

answered