Hi everybody!!
Please help!!! I need some guidance with this problem, I have a parallel task runing but when i finish the antepenultimate task i need to kill the other task.
Below there is an example, when I finish the task number three then the task number two must finish too
Thanks for your time
Hi, ara giliel!
Can you to give more information about your workflow? You say:
when I finish the task number three then the task number two must finish too
Let's answer some questions about expected result:
Should workflow end after task3 and task2 have been completed both?
BPMN notation allows one and more end events, but when you reach any end event your workflow will be completed. One parallel gateway before tasks means that they will be create in same time, not complete.
If it necessary to complete task 2 and task 3 both before workflow completes, you must add one more parallel gateway.
If it necessary to complete task 2 when the task 3 completes you may use inclusive gateway which:
Anyway, I can`t clearly understand conditions create\complete of 4th task: does it mandatory?
Also, if task 2 and task 3 have same model types you can:
But last method be useful, if when the task 2 will be completed earlier than task 3, task 3 must be completed too.
I hope, i have give you some ideas how to solve your problem!
If you have questions I will be glad to answer it. When the requirements are clear it is very easy to build right model
Good luck!
Hi Victoria,
If the workflow reach an end event (not terminate end event) , the workflow will not be completed if there is an active task , in this case , completing task 2 will not end the workflow and the model is correct, that's BPMN conform.
Hi ara,
I think throwing a signal after completing the task 3 to an boundary signal event in Task 2 could solve your problem.
Thanks!!!! thanks!!! and thanks!!!!! you saved my life!!!
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.