How to interrupt timer?


#1

Hi,
I have timer with 3 repeating intervals, each occurs after 15 mins,each interval send email notification to assignee to remind pending task. If assignee completes the task after first notification, then timer execution should be interrupted.
So is there any way to stop further execution of the timer?

Thanks,
Anjum


#2

Hi @anjumaara3

I think what you want to achieve is same as in below process model

https://docs.camunda.org/manual/latest/reference/bpmn20/events/timer-events/

From the process model, You can see that “Prepare sales report” task has an attached non-interrupting timer where an email reminder is sent every 24 hours.
With this design "when token arrives the task, a reminder will be sent to assignee every 24 hours only while the task is pending. As soon as the task is completed, no more reminders will be sent"


#3

Hey hassang,
Thanks for your response.
Actually i am using execution listener for sending email notification.
But i think this could be better solution,I will try this approch.
Thanks!


#4

How to completely stop the timer?


#5

Please do not necrobump old topics. Instead link to this thread from new topic.