AnsweredAssumed Answered


Question asked by gslamy on Aug 6, 2015
Latest reply on Aug 10, 2015 by gslamy

I have some problem with start my task in date from "bpm_workflowDueDate" field.
I tried to get this date from "bpm_workflowDueDate" field:

   <startEvent id="startevent" name="Start" activiti:initiator="initiator" activiti:formKey="scwf:startstaff"> 
        <activiti:taskListener event="complete" class="org.alfresco.repo.workflow.activiti.tasklistener.ScriptTaskListener">
          <activiti:field name="script">
               <![CDATA[execution.setVariable('startdate', task.getVariableLocal('bpm_workflowDueDate'));]]>

Now I want to start next task in this date from variable "startdate-3 days". I tried to add a timer, but I think it has a different date format and doesn't work.