Get Enum property name

Is it possible to get the name of a value in an Enum field in generated forms in Camunda for the next task? I currently only get the id of the value when using ${fieldname}

@etp You can try this to get the value of an enum

if ( formField.getTypeName().equals( "enum" ) )
{
EnumFormType enumFormType = (EnumFormType)formField.getType();
camundaTaskFormField.setValues( enumFormType.getValues());
}

Thanks @armaan6651 but I am trying to get the value in a camunda generated form without any coding.
Is something like ${fieldname.getvalue()} possible?

Hi @Niall Would you be able to provide your inputs on this?
Thank you

Not really a clean solution but I went ahead with naming the enum id and name similar to what I needed the user to see, the only difference being I used a replace function when getting the value of the enum.
Probably there is a “solution”, but since there was no clear indication from the community, making as resolved.