cancel
Showing results for 
Search instead for 
Did you mean: 

Where to put reminders on Tasks nearing their Due Date?

chrisx_212
Champ in-the-making
Champ in-the-making
I want to create a system where I send email to the assigned user if they have an incomplete task nearing its due date. Where should I put the codes for it in the Engines? Or is it impossible with Activiti and I'm better off using another programming language (PHP comes to mind)? Thanks!
2 REPLIES 2

r3dge
Champ in-the-making
Champ in-the-making
hi,

Of course it's possible. A simple sql query on act_ru_task allow you to list tasks nearing due date.
Otherwise you could use the activiti java API to create a batch that can do that.

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi,

There are several possibilities just two of them:
  • describe it in the model (timer boundary event)
  • add special process which will check all task with due dates
Regards
Martin