The multi-merge pattern results in merging of distinct branches into a single branch without synchronization. Each and every active branch would result in activation of downstream activities. In BPMN, this pattern is supported by XOR merging gateway. This gateway will pass the tokens as they arrive to the subsequent activity. The difference between simple merge and multi merge is that it allows for multiple incoming sequences to be active at the same time and it is not necessary for the converging gateway to be safe.
In this example, as the sprinters 1, 2 and 3 crossed the finish line they are ranked by the ranking task. Each time a sprinter crosses the finish line, the ranking
tasks will record the relative rank.