cancel
Showing results for 
Search instead for 
Did you mean: 

facing two issues

pereira_melvin
Champ in-the-making
Champ in-the-making
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
1 REPLY 1

frederikherema1
Star Contributor
Star Contributor
Could you create a unit-test for the issue you're experiencing? We cover all these usecases in our tests…