There are two ways that I can think of right now:
- Check MxModelReflection. This will already give you the entity, attribute microflow information from a particular module. With MxModelReflection, you can show the entity and attribute list in a page. Building something from scratch for entity selection might be tedious.
- Regarding the retrieving of data, there could be multiple ways like java action in combination with XPATH or OQL or direct SQL etc., you can choose your own implementation based on the business requirement.