cancel
Showing results for 
Search instead for 
Did you mean: 

Minor mistake in Documentation

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