09-22-2017 03:08 PM
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
09-22-2017 06:03 PM
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!
09-24-2017 08:01 AM
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.
09-24-2017 08:09 AM
Hi ara,
I think throwing a signal after completing the task 3 to an boundary signal event in Task 2 could solve your problem.
10-02-2017 10:15 AM
Thanks!!!! thanks!!! and thanks!!!!! you saved my life!!!
Explore our Alfresco products with the links below. Use labels to filter content by product module.