Hi,
I have created user task with one of the form property defined with default value, but this value is not setting for user task.
<userTask id="HumanTask" name="HumanTask" activiti:candidateGroups="User">
<extensionElements>
<activiti:formProperty id="State" name="CurrentState" type="string" expression="${CurrentState}" default="ACTIVE"> </activiti:formProperty>
<activiti:taskListener event="all" expression="#{customTaskListner.notify(task)}"></activiti:taskListener>
</<extensionElements>
</userTask >
But when I use the following print statement in user task listener , the value is getting as null
system.out.println( delegateTask.getVariableLocal("CurrentState"));
is it not possible to set the user task form property with default value, so that local variable is created automatically for the user task?