cancel
Showing results for 
Search instead for 
Did you mean: 

Due Date Task listener

ar30067
Champ in-the-making
Champ in-the-making
Hello
I use Activiti 5.10 and want to set a custom Java logic for Due Date of a User task but i see the manual and cannot find any solution .
(for example set a listener for Due date )
can any one help me .
thanks .
5 REPLIES 5

frederikherema1
Star Contributor
Star Contributor
Do you want to:
- Set the due-date of a task from within the execute() method of a TaskListener?
- OR have a task-listener be called when the due-date is changed, just like it is done with assignee?

ar30067
Champ in-the-making
Champ in-the-making
First thanks for reply.
I explain my requirement with an example:
i create a user task that create in jan 25,2013 and due date is jan 28,2013 . i want to set a lisener for this task that if the task is not complete until jan 28,2013(Due date) it automoticly report to boss(for example Smiley Happy );
thanks again

frederikherema1
Star Contributor
Star Contributor
You should create a boundary-timer event on the task, having a date defined on it, which is the same as the due-date.

http://activiti.org/userguide/index.html#bpmnTimerBoundaryEvent

waqses
Champ in-the-making
Champ in-the-making
Hi, sorry for bringing this up again.
Just want to ask what does the User Task Due date do when time reached the due date if i'm not using the timer boundary event?
will it be automatically skipped to the next task?

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
It does not do anything, it is just an indication.