# Schedule timer based on a task's due date

**URL:** <https://forum.flowable.org/t/schedule-timer-based-on-a-tasks-due-date/2077>\
**Category:** Uncategorized\
**Created:** [May 31, 2018, 2:36pm UTC](https://forum.flowable.org/t/schedule-timer-based-on-a-tasks-due-date/2077 "2018-05-31T14:36:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![robert.hafner](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@robert.hafner](https://forum.flowable.org/u/robert.hafner)\
**Post date:** [May 31, 2018, 2:36pm UTC](https://forum.flowable.org/t/schedule-timer-based-on-a-tasks-due-date/2077/1 "2018-05-31T14:36:43Z")

</div>

Is there a way to schedule a timer based on a task’s due date? We have a use case in which we would like to send a reminder notification via a service task that is sent a few days before the task is due. If the due date for the task changes we would like for the timer to be updated as well. I can get the desired behavior by making multiple API calls to flowable from our client, however I would prefer that the client is unaware of the required behavior by allowing a person to model the behavior in a definition via BPMN elements and maybe some Flowable extension elements.

Thanks,  
Rob

---

<div class="post-metadata">

**Author:** ![robert.hafner](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@robert.hafner](https://forum.flowable.org/u/robert.hafner)\
**Post date:** [June 26, 2018, 5:45pm UTC](https://forum.flowable.org/t/schedule-timer-based-on-a-tasks-due-date/2077/2 "2018-06-26T17:45:02Z")

</div>

@tijs @joram, Do you have any thoughts on a way to support this behavior in the engine? My initial thought was to enhance TaskListeners to trigger another event such as ‘dueDateUpdated’. Then a TaskListener could be used to reschedule an associated timer. Does that sound reasonable?
