Country Enumeration caption

I wanted the name of the selected country in a string. There is a nice microflow in this app that converts the country to string. Only it is not converting the caption name, but the name of the enumeration. So I get United_Kingdom instead of United Kingdom in my string. I thought I could change this easily, but how do I retrieve the caption of an enumaration? A work around offcourse could be to just replace the underscore but I really would like to retrieve the caption, because then I have the right language of the user as well. Is it still only possible through Java like mentioned in this post how to retrieve caption in Java.
1 answers

The caption of an enum can be retrieved in a microflow with the function getcaption. E.g. in a MF create a string that you set to:


This will return the string in the user's language.

I hope this helps.