AnsweredAssumed Answered

Process is not deployed with setted task listener

Question asked by partizano on Jun 15, 2011
Latest reply on Jun 15, 2011 by partizano
Hi, Activiti Team.

I have a simple process whith 2 user tasks, it is deployed fine. But when I added task listener to one user task, I can't deploy bar-archive to the server. It says that "The deployment was uploaded", but there is no available process in activiti-explorer process tab. My user task is:
    <userTask id="usertask1" name="User Task 1" activiti:assignee="kermit">
      <extensionElements>
        <activiti:formProperty id="state" name="state" required="false" readable="true" writable="true"></activiti:formProperty>
        <activiti:formProperty id="processInstanceName" name="processInstanceName" required="false" readable="true" writable="true"></activiti:formProperty>
        <activiti:taskListener event="complete" expression="${state='approved'}"></activiti:taskListener>
      </extensionElements>
    </userTask>

After I have deleted line "<activiti:taskListener event="complete" expression="${state='approved'}"></activiti:taskListener>" process is deployed fine.

Help please.


Thanks, Alexander

Outcomes