AnsweredAssumed Answered

How to get get enum values from FormProperties

Question asked by tschiela on Jul 23, 2012
Latest reply on Nov 7, 2016 by javaj3d1
Hello again,

i designed a simple usertask-workflow with Activiti Desinger. The user task contains a form, which contains a enum type. The set 3 values to the enum type. The Activiti Explorer shows a combobox with 3 values, all correct. But how i can get these 3 values throw the Java Api?

The probleme here is that i only can get a String from my enum field. But there must be something like a HashMap with the values.

if("enum".equals(p.getType().getName())){               
   logger.info(p.getValue());               
}


Greets
Thomas

Outcomes