Search code examples
business-process-managementbpmnactiviti

Activiti: Does Intermediate Timer Event fire if process ends before deadline?


I am learning about activiti. I have a parallel gateway with two branches. One branch flows to a sequence of user tasks. The other flows to an intermediate timer event that will fire in 15 days if the sequence isn't completed.

My question is if the sequence completes and the process ends, will the intermediate timer event disappear? Or will it still fire in 15 days?

Note: I'm not using a boundary timer event because there are more than one task involved in the sequence.

Here's a crude diagram of what I'm doing. The timer event executes something if the "user upload" and "manager review" process isn't completed.

enter image description here


Solution

  • i'm currently learning the Activiti framework too so may be my response isn't the right one...

    I think that, if your workflow reach the end point, the execution / workflow instance is terminated. So, the timer will not exists anymore.

    May be you can test that by setting a 2 minutes timer and terminating your workflow process.