Title: How to create a list which can hold different types of entities?
How to create a list which can hold different types of entities? Basically, I want to create a list variable in mendix which can hold different types of entities in it and send it to Java action. My java action will loop thru each object from the list and picks objects from it based on it need. Currently I am able to create list and associate it with a single entity only.
You could use inheritance for this or use the option any object in your java action and determine the attributes you need for your logic.
If you want to perform 1 java action call then the inheritance would be the way to go.