I would like get in code name of base enum not value or label. With this code I get label not name:
info(enum2str(AssetGroup::AssetGroup1));
Simply use enum2Symbol()
enum2Symbol()
For example:
enum2Symbol(enumNum(KPAssetGroup), KPAssetGroup::PWNiP);