cancel
Showing results for 
Search instead for 
Did you mean: 

Delay a task

mduduzi
Confirmed Champ
Confirmed Champ
Hi,

I wish to delay a script task from executing until a certain date is reached. For testing purposes I have inserted a intermediate Catch Event and configured it as follows:

<blockcode>
    <intermediateCatchEvent id="timerintermediatecatchevent1" name="TimerCatchEvent">
      <timerEventDefinition>
        <timeDate>2013-10-29T12:35:14</timeDate>
      </timerEventDefinition>
    </intermediateCatchEvent>
</blockcode>

What I expected was that the tasks will be held by this event until the timeDate and then released to the next task. What happen is that the task are held and never released even after the timeDate specified has passed.

Mduduzi
2 REPLIES 2

felipe1
Champ in-the-making
Champ in-the-making
Can you post your process' xml?

Have you checked if the time on the server running the activiti engine is properly set?

trademak
Star Contributor
Star Contributor
Is the job executor activated? The job executor will execute these kind of timer jobs, but it needs to be running of course.

Best regards,