cancel
Showing results for 
Search instead for 
Did you mean: 

defining user task with dynamic form properties

ganeshr
Champ in-the-making
Champ in-the-making
is it possible to define a user task with dynamic form properties?
currently I'm defining user task form properties using <activiti:formProperty> for each form property.
<userTask id="HumanTask" name="HumanTask" activiti:candidateGroups="bpmn-userManager">
      <extensionElements>
        <activiti:formProperty id="formid" name="Form Id" type="long" expression="#{payloadData.processPayload.formId}" writable="false"></activiti:formProperty>
        —–       
      </extensionElements>
    </userTask>


Can it be possible to define single pojo object to user task and at runtime it fetches all properties in the object and displays in user task form instead of defining each form property?
2 REPLIES 2

jbarrez
Star Contributor
Star Contributor
No, at the moment it needs to be all defined in the BPMN 2.0 xml.

ganeshr
Champ in-the-making
Champ in-the-making
thanks for information