cancel
Showing results for 
Search instead for 
Did you mean: 

FormProperty in Designer

anuppc72
Champ in-the-making
Champ in-the-making
Hi, I'm confused with the syntax in the user guide and what shows up in the designer for FormProperty.

The designer UI for declaring FormProperty has Id, Name, Type, Value, Readable, Writable and Required.

The bpmn20.xml translates this to

<activiti:formProperty id="CRNumber" name="CR Number" type="string" required="true" readable="true" writable="true"></activiti:formProperty>  - In this case Value was blank.

<activiti:formProperty id="priority" name="Priority" type="enum" variable="low,medium,high,mandatory" required="true" readable="true" writable="true"></activiti:formProperty> - I had entered comma separated values in the Value . However i see the generated xml has a variable attribute.

I was expecting my xml to be in this form:

       <activiti:formProperty id="priority" name="Priority" type="enum"  required="true" readable="true" writable="true">
           <activiti:value id="Low" name="Low" />
           <activiti:value id="Medium" name="Medium" />
           <activiti:value id="High" name="High" />
        </activiti:formProperty>

Looks like some mismatch between the UI and generated xml??

regards
Anup
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi Anup,

There's already a JIRA issue created for supporting enums.

Best regards,