AnsweredAssumed Answered

Form Default Values

Question asked by hheg8837 on Jul 17, 2012
Latest reply on Jul 18, 2012 by frederikheremans1
Hi,

I defined a process with some fields which should be prepopulated with defaul values.


      <extensionElements>
        <activiti:formProperty id="template" name="Template Name" type="string" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="vmname" name="Virtual Machine Name" type="string" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="path" name="Absolute Path to Folder" type="string" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="customspec" name="Customization Specification" type="string" value="XYZ" default="XYZ" required="true" readable="true" writable="false"></activiti:formProperty>
        <activiti:formProperty id="resourcepool" name="Resource Pool" type="string" value="XYZ" required="true" readable="true" writable="false"></activiti:formProperty>
        <activiti:formProperty id="cpu" name="CPU Count" type="string" default="1" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="limit" name="MHz Limit" type="string" default="800" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="ram" name="RAM Size" type="string" default="512" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="dvswitch" name="Distributed Virtual Switch" type="string" value="dvSwitch" required="true" readable="true" writable="false"></activiti:formProperty>
        <activiti:formProperty id="dvport" name="Port Group" type="string" value="XYZ" required="true" readable="true" writable="false"></activiti:formProperty>
        <activiti:formProperty id="ip" name="IP Address" type="string" required="true" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="mor" name="Managed Object Reference" type="string" required="false" readable="true" writable="false"></activiti:formProperty>
      </extensionElements>

Surprisingly, Activity Explorer ignores all default values and shows only empty text fields.

Could someone please explain, what I'm doing wrong?

Thank you in Advance!
Thomas

Outcomes