Process SLA

Hi,

My Process contains 10 tasks. Here for multiple tasks need to be handle three level SLA.
For each SLA need to be trigger email notification.

For example will take below scenario.

  1. Frist level SLA–1 days
  2. Second level SLA --3 days
  3. Third leval SLA – 5 days

Regarding this I have tried with three timers . It is working fine.

Is there any better approach to optimize for multiple tasks. So, that I need not configure 3 timers for every task.

Regards,
Kedari

Hi,

you could consider using a non-interrupting event driven sub-process…

regards

Rob

Hi @kedarik,

you can move the timer creation and -handling into a process engine plugin. Then it is available for every task of all your models.

Here is an example how to use the due date for this: https://github.com/camunda-consulting/code/tree/master/snippets/task-overdue-job-handler

Hope this helps, Ingo

@Ingo_Richtsmeier

The above example only schedules the timer. Is there any way to keep track of timer expiry for triggering mail from task listener ?

Regards,
Vinu

Here is a basic example how to handle the time: https://github.com/camunda-consulting/code/blob/master/snippets/task-overdue-job-handler/src/main/java/com/camunda/demo/task/escalation/UserTaskOverdueJobHandler.java

Just implement the execute() method according to your needs.

Thank you. Its working fine

Hi @vinu_s can you please share how you implemented the SLA’s as user tasks and process levels?