the following is a correct segment of bpmn file : <userTask id="handleRequest" name="Handle vacation request" activiti:formKey="org/activiti/examples/taskforms/approve.form" > <documentation> Vacation request by ${employeeName} </documentation> <potentialOwner> <resourceAssignmentExpression> <formalExpression>management</formalExpression> </resourceAssignmentExpression> </potentialOwner>
</userTask>
this is one node of my business flow, i deploy this business file well. while i insert section <extensionElements> <activiti:formProperty id="vacationApproved" type="boolean" required="true" /> </extensionElements> into the front of the above userTask node ,like this
at org.activiti.engine.impl.util.xml.Parse.throwActivitiExceptionForErrors(Parse.java:186) at org.activiti.engine.impl.bpmn.parser.BpmnParse.execute(BpmnParse.java:201) at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:81) at org.activiti.engine.impl.persistence.deploy.DeploymentCache.deploy(DeploymentCache.java:37) at org.activiti.engine.impl.persistence.entity.DeploymentManager.insertDeployment(DeploymentManager.java:39) at org.activiti.engine.impl.cmd.DeployCmd.execute(DeployCmd.java:58)
if i removed the all the inner content of the userTask node exclude the extensionElements ,result like this