Retriving Entity Name

0
Hi How Can a retrieve and Entity Name using a microflow e.g <<entity>> is named Video and has attribute Name, Description <<entity>> is named Music and has attribute Name, Description and i have other <<entity>> is named Content and has attribute CName, CDescription and so i want to retrieve the name of the entity Video,Music and store in the <<entity>> Content How can i do that using Microflow
asked
1 answers
5

You can use the following java action from the community commons in a microflow:getTypeAsString. This will pass you back the name of any entity you pass it.

This can be downloaded from the appstore: https://appstore.mendix.com/link/app/Community%20Commons%20Function%20Library

If you want to create your own java action to do this the code is:

instance.getType();
answered