====== Make parallel merge explicit ======
{{tag>parallel_gateway sequence_flow terminate_event}}
Use parallel gateway to merge parallel flows.
===== ✔ How to =====
Flow_0pflg82
Flow_11hcs27
Flow_0pflg82
Flow_09fat02
Flow_11hcs27
Flow_0ibgzl7
Flow_09fat02
Flow_0ibgzl7
===== ✘ How NOT to =====
Flow_0pflg82
Flow_11hcs27
Flow_0pflg82
Flow_1xvw3ai
Flow_11hcs27
Flow_1wiazjj
Flow_1xvw3ai
Flow_1wiazjj
Task with two incoming flows will be executed twice.
Probably this wasn't your intention.
Flow_0pflg82
Flow_11hcs27
Flow_0pflg82
Flow_1xvw3ai
Flow_11hcs27
Flow_1wiazjj
Flow_1xvw3ai
Flow_1wiazjj
Executing this model by BPMS would lead to misreporting - doubled number of end events.
Flow_0pflg82
Flow_11hcs27
Flow_0pflg82
Flow_1qqj5ba
Flow_11hcs27
Flow_0zf0s6w
Flow_1qqj5ba
Flow_0zf0s6w
Similarly to previous example, BPMS would produce wrong reports with doubled number of end events.
===== Exceptions =====
Flow_0pflg82
Flow_11hcs27
Flow_0pflg82
Flow_1qqj5ba
Flow_11hcs27
Flow_0zf0s6w
Flow_0zf0s6w
Flow_1qqj5ba
Ending parallel branches without merge may make sense if one or more come to terminate or error event.
===== See also =====
* [[explicit_parallel_split]]
* [[do_not_save_on_gateways]]
* [[structured_diagram]]
===== Author(s) =====
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-24 16:44//