AnsweredAssumed Answered

Missing dependency using ScriptTaskListener

Question asked by rogerofyan on May 22, 2012
Latest reply on Jan 20, 2016 by jbarrez

I try to use ScriptTaskListener within a user task, as example
<activiti:taskListener event="complete"  class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
   <activiti:field name="script">
         if(task.getVariableLocal('outcome') == 'N') {
   execution.setVariable('allApproved', false);

it throws exception while running
Caused by: java.lang.ClassNotFoundException: org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener

It's no luck after I tried to all the jars packaged with activity-5.9 to the classpath. I'd like to know which jar file could provide the dependency?