AnsweredAssumed Answered

Timer in Workflow

Question asked by molti on Sep 26, 2011
Latest reply on Feb 21, 2012 by molti
Hello.
For examle in  proccess definition i have such timer

<timer name="task_timer" duedate="#{daa_finishDate}" repeat="4 days">
      <action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
      <runas>admin</runas>
      <script>

            logger.log("Send Email");
      </script>
      </action>
</timer>  
daa_finishDate = bpm_workflowDueDate - 5 days.
If today 26.09.2011 and bpm_workflowDueDate= 28.09.2011.
Expected result
I'll get the mail 27.09.2011,then after 4 days another … while task is not finished
Getting result
I'll get the mail 27.09.2011 and task automaticly closed…
What is wrong?

Outcomes