Hi!
Mendix doesn't allow different entities to be added to a list. You could make use of a helper entity which acts like an in-between object for this list, but you would need associations to each entity you would potentially want to add to the list, as well as decision-based logic in any subsequent microflows to check which object is connected to an iteration in the list.
You can't show multiple entities in 1 list. There are ways around it, you can use a helper entity (non persistent) for example with all the required attributes and use that as an inbetween. In essence, you need a proxy. You then have 1 list of 1 entity, but that entity is hybrid copy of A B and C.
It's dirty, but it's a possible workaround you can use. Otherwise: no, cant be done in 1 list.
But why not just do a few retrieves and additional loops to change each entity seperately?
You can do multiple retrieves in one microflow, although it might get a bit messy, especially when retrieving more than two types of entities and doing things with those lists.
What I would do is create multiple submicroflows that each retrieves a list of one type of entity of the different entities you need and loops over that list to create an instance of the helper or ‘proxy’ entity described above and populate its attributes with the needed value of each iterator.
All those submicroflows return the list of the created ‘proxy’ entities, which can then be unioned into one list in the parent microflow.
Submicroflow creating a list of $HelperEntity based on $OriginalEntity (create one for each ‘original’ entity):
Calling the submicroflows and unioning the multiple lists of $HelperEntity:
In relation to my comment above about generalizations: