The following mapping from form property variable to expression does not seem to work:<userTask id="task">
<extensionElements>
<activiti:formProperty id="street" expression="#{address.street}" required="true" />
</extensionElements>
</userTask>My address POJO 's fields are all public and also has getters/setters for these fields.I complete the usertask in Java thus:
HashMap<String,Object> taskParams = new HashMap<String,Object>();
taskParams.put("street","Main Street");
formService.submitTaskFormData(task.getId(), taskParams);
taskService.complete(task.getId());but address.street does not have the value "Main Street"Is something wrong with my code or can you please suggest an alternative?