Не изображайте несколько потоков управления, выходящих из действия или события.
Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04Ij8+CjxkZWZpbml0aW9ucyB4bWxucz0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvQlBNTi8yMDEwMDUyNC9NT0RFTCIgeG1sbnM6YnBtbmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9CUE1OLzIwMTAwNTI0L0RJIiB4bWxuczpvbWdkaT0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvREQvMjAxMDA1MjQvREkiIHhtbG5zOm9tZ2RjPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9ERC8yMDEwMDUyNC9EQyIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgaWQ9InNpZC0zODQyMmZhZS1lMDNlLTQzYTMtYmVmNC1iZDMzYjMyMDQxYjIiIHRhcmdldE5hbWVzcGFjZT0iaHR0cDovL2JwbW4uaW8vYnBtbiIgZXhwb3J0ZXI9Imh0dHA6Ly9icG1uLmlvIiBleHBvcnRlclZlcnNpb249IjAuMTAuMSI+CiAgPHByb2Nlc3MgaWQ9IlByb2Nlc3NfMDNobGN3aSI+CiAgICA8cGFyYWxsZWxHYXRld2F5IGlkPSJHYXRld2F5XzB0N3M4NHYiPgogICAgICA8aW5jb21pbmc+Rmxvd18wMm1tZ2ZsPC9pbmNvbWluZz4KICAgICAgPG91dGdvaW5nPkZsb3dfMWZzdWNyeDwvb3V0Z29pbmc+CiAgICAgIDxvdXRnb2luZz5GbG93XzEyeXRmYm48L291dGdvaW5nPgogICAgPC9wYXJhbGxlbEdhdGV3YXk+CiAgICA8dGFzayBpZD0iQWN0aXZpdHlfMTVwcWFyZCIgbmFtZT0i0KHQtNC10LvQsNGC0Ywg0Y3RgtC+Ij4KICAgICAgPGluY29taW5nPkZsb3dfMWZzdWNyeDwvaW5jb21pbmc+Ci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A8L2JwbW5kaTpCUE1ORWRnZT4KICAgICAgPGJwbW5kaTpCUE1ORWRnZSBpZD0iRmxvd18xMnl0ZmJuX2RpIiBicG1uRWxlbWVudD0iRmxvd18xMnl0ZmJuIj4KICAgICAgICA8b21nZGk6d2F5cG9pbnQgeD0iMjkwIiB5PSIxNjUiIC8+CiAgICAgICAgPG9tZ2RpOndheXBvaW50IHg9IjI5MCIgeT0iMjIwIiAvPgogICAgICAgIDxvbWdkaTp3YXlwb2ludCB4PSIzNTAiIHk9IjIyMCIgLz4KICAgICAgPC9icG1uZGk6QlBNTkVkZ2U+CiAgICAgIDxicG1uZGk6QlBNTkVkZ2UgaWQ9IkZsb3dfMDJtbWdmbF9kaSIgYnBtbkVsZW1lbnQ9IkZsb3dfMDJtbWdmbCI+CiAgICAgICAgPG9tZ2RpOndheXBvaW50IHg9IjIyMCIgeT0iMTQwIiAvPgogICAgICAgIDxvbWdkaTp3YXlwb2ludCB4PSIyNjUiIHk9IjE0MCIgLz4KICAgICAgPC9icG1uZGk6QlBNTkVkZ2U+CiAgICA8L2JwbW5kaTpCUE1OUGxhbmU+CiAgPC9icG1uZGk6QlBNTkRpYWdyYW0+CjwvZGVmaW5pdGlvbnM+Cg==
Согласно спецификации BPMN, процесс на диаграмме ниже будет выполняться точно так же, как и процесс на диаграмме «как надо» выше: потоки будут исполняться параллельно. Разница только в том, что на диаграмме выше параллельность изображена явно, а на диаграмме ниже - неявно. Разумеется, логику процесса лучше изображать явно.
Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04Ij8+CjxkZWZpbml0aW9ucyB4bWxucz0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvQlBNTi8yMDEwMDUyNC9NT0RFTCIgeG1sbnM6YnBtbmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9CUE1OLzIwMTAwNTI0L0RJIiB4bWxuczpvbWdkaT0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvREQvMjAx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iRmxvd18xZnN1Y3J4X2RpIiBicG1uRWxlbWVudD0iRmxvd18xZnN1Y3J4Ij4KICAgICAgICA8b21nZGk6d2F5cG9pbnQgeD0iMjkwIiB5PSIxMDAiIC8+CiAgICAgICAgPG9tZ2RpOndheXBvaW50IHg9IjI5MCIgeT0iNjAiIC8+CiAgICAgICAgPG9tZ2RpOndheXBvaW50IHg9IjM4MCIgeT0iNjAiIC8+CiAgICAgIDwvYnBtbmRpOkJQTU5FZGdlPgogICAgICA8YnBtbmRpOkJQTU5FZGdlIGlkPSJGbG93XzEyeXRmYm5fZGkiIGJwbW5FbGVtZW50PSJGbG93XzEyeXRmYm4iPgogICAgICAgIDxvbWdkaTp3YXlwb2ludCB4PSIyOTAiIHk9IjE4MCIgLz4KICAgICAgICA8b21nZGk6d2F5cG9pbnQgeD0iMjkwIiB5PSIyMjAiIC8+CiAgICAgICAgPG9tZ2RpOndheXBvaW50IHg9IjM4MCIgeT0iMjIwIiAvPgogICAgICA8L2JwbW5kaTpCUE1ORWRnZT4KICAgIDwvYnBtbmRpOkJQTU5QbGFuZT4KICA8L2JwbW5kaTpCUE1ORGlhZ3JhbT4KPC9kZWZpbml0aW9ucz4K
Поскольку на следующей диаграмме потоки управления надписаны («если это», «если то»), у неискушенного пользователя может сложиться впечатление, что это взаимно-исключающие варианты. Нет, это по-прежнему неявное параллельное выполнение.
Cjw/eG1sIHZlcnNpb249IjEuMCIgZW5jb2Rpbmc9IlVURi04Ij8+CjxkZWZpbml0aW9ucyB4bWxucz0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvQlBNTi8yMDEwMDUyNC9NT0RFTCIgeG1sbnM6YnBtbmRpPSJodHRwOi8vd3d3Lm9tZy5vcmcvc3BlYy9CUE1OLzIwMTAwNTI0L0RJIiB4bWxuczpvbWdkaT0iaHR0cDovL3d3dy5vbWcub3JnL3NwZWMvREQvMjAxMDA1MjQvREkiIHhtbG5zOm9tZ2RjPSJodHRwOi8vd3d3Lm9tZy5vcmcvc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