AnsweredAssumed Answered

Minor mistake in Documentation

Question asked by flavio.donze on Jun 15, 2016
Latest reply on Jul 1, 2016 by jbarrez
Hello, just noticed a minor mistake in the documentation:

In Chapter "8.5.13. Task listener" the end tag is wrong:
<activiti:taskListener>
instead of
</activiti:taskListener>



<activiti:taskListener event="complete" class="org.activiti.engine.impl.bpmn.listener.ScriptTaskListener" >
  <activiti:field name="script">
    <activiti:string>
      def bar = "BAR";  // local variable
      foo = "FOO"; // pushes variable to execution context
      task.setOwner("kermit"); // test access to task instance
      bar // implicit return value
    </activiti:string>
  </activiti:field>
  <activiti:field name="language" stringValue="groovy" />
  <activiti:field name="resultVariable" stringValue="myVar" />
<activiti:taskListener>

Outcomes