AnsweredAssumed Answered

Timer boundary event and execution listeners

Question asked by darionis on Dec 1, 2014
Latest reply on Dec 8, 2014 by darionis
If I have a task with 'timer boundary event' and it times out, will it notify its listners? For example:

    <boundaryEvent id="workOrderTimer" name="RZ Timer" attachedToRef="workOrder" cancelActivity="true">
        <activiti:executionListener event="end" class="org.alfresco.repo.workflow.activiti.listener.ScriptExecutionListener">
          <activiti:field name="script">
            <activiti:string><![CDATA[execution.setVariable("status", "expired");]]></activiti:string>

I noticed that my script which sets variable is never executed. I also tried with execution delegate, it never gets called. Does it work to define start or end execution listeners on timer?  Workflow is deployed and executed without errors.

Coud anyone please help with timer and listeners,