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

有帮助吗?

解决方案

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.

其他提示

the end event consumes the token of the branch. to finish the process you have to consume all the tokens.

theoretically the process is not finished because you still have a token in the timer branch.

there are many design solution for doing what you do.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top