I am using Activiti 5.13. It looks like Modeler does not allow creation "enum"type form field. If I export bpnm20 file and add this field manually then import it back and deploy the values for this field got removed (as a result the drop down box is empty when I run my process). The second problem is also described here http://forums.activiti.org/content/problem-formproperty-enum-type-actviti-explorer-512. Please help.
This is a bigger problem than simply the modeler. If you create a process .bpmn file using the Eclipse plugin (or just typing straight XML), enum fields actually have their values removed from the process. Processes containing enum fields can be deployed, and they do appear as drop-down menus, they just have no options available.
If I look at the byte array data in the ACT_GE_BYTEARRAY table, I can confirm that the BLOB of the xml doesn't contain the tags like: <code><activiti:value id=… name=…></activiti:value></code>
They've simply been stripped out of the enum tag.
Just for grins, I tried manually updating the BYTES_ column in ACT_GE_BYTEARRAY to a new CLOB that contained the value tags. Surprise! It works.
So, the problem isn't with the form renderer. If I had to guess, I'd say it's with the BpmnXMLConverter.java file.