# How to terminate timer event

**URL:** <https://community.ofelia.com/t/how-to-terminate-timer-event/11584>\
**Category:** Q&A\
**Tags:** bonita-studio\
**Created:** [15 July 2023 09:16 UTC](https://community.ofelia.com/t/how-to-terminate-timer-event/11584 "2023-07-15T09:16:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jj8102929](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jj8102929](https://community.ofelia.com/u/jj8102929)\
**Post date:** [15 July 2023 09:16 UTC](https://community.ofelia.com/t/how-to-terminate-timer-event/11584/1 "2023-07-15T09:16:13Z")

</div>

Hello,&nbsp;  
  
i have process where one human task is created and if it is not done in 20&nbsp;minutes , I have to autocomplete.

I created parallel (AND) gateway,

one flow goes to human task

second flow goes to timer that is set on 20 minutes and after it I have service task that checks if human task is not done , it autocompletes.

The Problem : if human task is manually completed, Process waits for timer to be finished, I&nbsp; need to terminate timer and do not wait for it to be finishied, in order to continue process.  
  
Main question : how to terminate timer event ?

---

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [16 July 2023 06:30 UTC](https://community.ofelia.com/t/how-to-terminate-timer-event/11584/2 "2023-07-16T06:30:58Z")

</div>

Hello  
Put the Interrupting Timer on the Human Task Itself , . Drag the Timer and place it on the Human Task.  
Set the value as 20 mins. From the timer draw an arrow to the Service task.  
  
If the Human task is not done in 20 mins, automatically the timer would follow the path to service tasks and close the Path.  
Else if Human does the Task, timer is never triggered.
