I was trying to solve this with “Token Simulation” plugin in Camunda, but:
*in exercise 1 - 2 tokens reached last parallel gateway and stucked.
*in exercise 2 - 2 tokens reached the parallel gateway, then merged and one token reached the end task. So in exercsie 2, I think that the answer will be: 1 token will reach the end task.
But I’m not sure about my answers, so I need Your help.
Oh, yes, my mistake with this “BNMP”, thanks Already changed it.
So, back to my questions. In question 2, there is one token at start, next first task splits token into two sequence flows, then the parallel gateway waits for all (in this case 2) tokens to merge them. So after the parallel gateway, there will only be 1 token in the process? And answer to my question will be 1?
But I’m confused about questions 1. Because there are two outgoing sequence flows from Start event, and the exercise tells us, that there is 1 token at start of the process. Is it possible for process to run on multiple sequence flows from start event with only 1 token?
In question 1 the parallel gateway has three incoming sequence flows so it will wait for all three tokens to let the process to continue. But in my case there will be only 2 incoming tokens, so the flow cannot be completed. And answer to question 1 will be 0?