Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81227

Compare Lookup Values based on Enumerations

$
0
0

I have a Look Up Table called LuContactType

LuContactType consists of 3 Attributes one of which is "Name".

Name is an enumeration.

I have then associated this Lookup Table "LuContactType" to another entity called Contact.

I want to compare the value of $Module/Contacts.Contact_LuContactType in a micro flow.

Path will autocomplete the expression as far as

$Module/Contacts.Contact_LuContactType

I then am unable to add anything else to this expression. If I add a comparison to the enumeration value I get a type mismatch and

Invalid argument types Contacts.LuContactTYpe and Enumeration Contacts.ContactTypeEnum

I am unable to compare it against a string value and I am unable to extend the relationship beyond the basics of

  $Module/Contacts.Contact_LuContactType

I have only started using Mendix recently and I have to say I am learning to hate XPath with an all consuming passion.


Viewing all articles
Browse latest Browse all 81227

Trending Articles