AnsweredAssumed Answered

facing two issues

Question asked by pereira.melvin on Oct 1, 2011
Latest reply on Oct 5, 2011 by frederikheremans1
I have a jsf form attached to the start event as activiti:formKey="holidayRequest"

But I am unable to get the form key when I use formService.getStartFormData(procDefId).getFormKey();

I am using activiti-engine-5.7

also

In my bpmn20.xml file I have a user task

<userTask id="usertask1" name="manager" activiti:assignee="fozzie">     
         <extensionElements>
            <activiti:taskListener event="assignment" class="net.holiday.workflow.cdi.ChangeOwner"></activiti:taskListener>
          <activiti:formProperty id="requestHoliday" name="requestHoliday" type="string" variable="requestHoliday" required="false" readable="true" writable="false"></activiti:formProperty>
           <activiti:formProperty id="continue" name="continue" type="string" variable="continue" required="true" readable="false" writable="true"></activiti:formProperty>
       </extensionElements>
    </userTask>

But the task listener fails to execute. It executes if there are no form property elements.
can anyone elucidate this issue

Outcomes