Using the Camunda Modeler, we have created a simple workflow with a user task. In the modeler, we defined a Form under the Forms tab and assigned the Form Type = Form Data. Then we defined one form field, with a type of enum. We defined two Values for this field, with the Names “Mom” and “Dad”.
We start an instance of this process, and then use this REST API call to get the form variables: engine-rest/task/bd8da021-fc40-11e5-8559-0242ac110006/form-variables.
This call does not return the possible enum values, nor does it indicate that this is an enum field. It returns the following:
We need to get access to the possible enum values so that we can properly display these choices in a form. How can we do this?