Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:overlapped_flows [2024-08-24 17:17] – [✘ Как НЕ надо] Anatoly Belaychuk | ru:rule:overlapped_flows [2024-08-24 17:48] (текущий) – [Примечания] Anatoly Belaychuk |
---|
====== 0-TBD Избегайте наложения потоков управления друг на друга ====== | ====== Избегайте наложения потоков управления друг на друга ====== |
| |
{{tag>поток_управления развилка_или-или}} | {{tag>поток_управления развилка_или-или}} |
| |
{{:ru:v_razrabotke.png?nolink&200|}} | |
| |
Используйте сходящуюся развилку "или/или". | Используйте сходящуюся развилку "или/или". |
<task id="Activity_0pz270f"> | <task id="Activity_0pz270f"> |
<incoming>Flow_1ut7uu9</incoming> | <incoming>Flow_1ut7uu9</incoming> |
<incoming>Flow_13y0vv1</incoming> | <incoming>Flow_0nou2q0</incoming> |
| <incoming>Flow_1m9hwun</incoming> |
| <incoming>Flow_1ogbrx6</incoming> |
<outgoing>Flow_14n14wf</outgoing> | <outgoing>Flow_14n14wf</outgoing> |
</task> | </task> |
<incoming>Flow_14n14wf</incoming> | <incoming>Flow_14n14wf</incoming> |
<outgoing>Flow_0iav8a3</outgoing> | <outgoing>Flow_0iav8a3</outgoing> |
<outgoing>Flow_17qwbm9</outgoing> | <outgoing>Flow_0nou2q0</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_14n14wf" sourceRef="Activity_0pz270f" targetRef="Gateway_1jszj3z" /> | <sequenceFlow id="Flow_14n14wf" sourceRef="Activity_0pz270f" targetRef="Gateway_1jszj3z" /> |
<incoming>Flow_1kum4k7</incoming> | <incoming>Flow_1kum4k7</incoming> |
<outgoing>Flow_08xxpa3</outgoing> | <outgoing>Flow_08xxpa3</outgoing> |
<outgoing>Flow_1vn4twt</outgoing> | <outgoing>Flow_1ogbrx6</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_1kum4k7" sourceRef="Activity_0v6ywmg" targetRef="Gateway_02ctw3e" /> | <sequenceFlow id="Flow_1kum4k7" sourceRef="Activity_0v6ywmg" targetRef="Gateway_02ctw3e" /> |
<incoming>Flow_0n5urrx</incoming> | <incoming>Flow_0n5urrx</incoming> |
<outgoing>Flow_0heldi6</outgoing> | <outgoing>Flow_0heldi6</outgoing> |
<outgoing>Flow_19nd13o</outgoing> | <outgoing>Flow_1m9hwun</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_0n5urrx" sourceRef="Activity_1enrs4s" targetRef="Gateway_10llakz" /> | <sequenceFlow id="Flow_0n5urrx" sourceRef="Activity_1enrs4s" targetRef="Gateway_10llakz" /> |
</endEvent> | </endEvent> |
<sequenceFlow id="Flow_0heldi6" sourceRef="Gateway_10llakz" targetRef="Event_027iw82" /> | <sequenceFlow id="Flow_0heldi6" sourceRef="Gateway_10llakz" targetRef="Event_027iw82" /> |
<exclusiveGateway id="Gateway_082qcbn"> | <sequenceFlow id="Flow_0nou2q0" sourceRef="Gateway_1jszj3z" targetRef="Activity_0pz270f" /> |
<incoming>Flow_17qwbm9</incoming> | <sequenceFlow id="Flow_1m9hwun" sourceRef="Gateway_10llakz" targetRef="Activity_0pz270f" /> |
<incoming>Flow_1wmytwl</incoming> | <sequenceFlow id="Flow_1ogbrx6" sourceRef="Gateway_02ctw3e" targetRef="Activity_0pz270f" /> |
<outgoing>Flow_13y0vv1</outgoing> | |
</exclusiveGateway> | |
<sequenceFlow id="Flow_17qwbm9" sourceRef="Gateway_1jszj3z" targetRef="Gateway_082qcbn" /> | |
<sequenceFlow id="Flow_13y0vv1" sourceRef="Gateway_082qcbn" targetRef="Activity_0pz270f" /> | |
<exclusiveGateway id="Gateway_0rys836"> | |
<incoming>Flow_1vn4twt</incoming> | |
<incoming>Flow_19nd13o</incoming> | |
<outgoing>Flow_1wmytwl</outgoing> | |
</exclusiveGateway> | |
<sequenceFlow id="Flow_1vn4twt" sourceRef="Gateway_02ctw3e" targetRef="Gateway_0rys836" /> | |
<sequenceFlow id="Flow_1wmytwl" sourceRef="Gateway_0rys836" targetRef="Gateway_082qcbn" /> | |
<sequenceFlow id="Flow_19nd13o" sourceRef="Gateway_10llakz" targetRef="Gateway_0rys836" /> | |
</process> | </process> |
<bpmndi:BPMNDiagram id="BpmnDiagram_1"> | <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0jtkq8g"> | <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0jtkq8g"> |
| <bpmndi:BPMNShape id="Event_0fl91v7_di" bpmnElement="Event_0fl91v7"> |
| <omgdc:Bounds x="192" y="122" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0pz270f_di" bpmnElement="Activity_0pz270f"> |
| <omgdc:Bounds x="260" y="100" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_1jszj3z_di" bpmnElement="Gateway_1jszj3z" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_1jszj3z_di" bpmnElement="Gateway_1jszj3z" isMarkerVisible="true"> |
<omgdc:Bounds x="395" y="115" width="50" height="50" /> | <omgdc:Bounds x="395" y="115" width="50" height="50" /> |
<bpmndi:BPMNShape id="Activity_1enrs4s_di" bpmnElement="Activity_1enrs4s"> | <bpmndi:BPMNShape id="Activity_1enrs4s_di" bpmnElement="Activity_1enrs4s"> |
<omgdc:Bounds x="700" y="100" width="100" height="80" /> | <omgdc:Bounds x="700" y="100" width="100" height="80" /> |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0pz270f_di" bpmnElement="Activity_0pz270f"> | |
<omgdc:Bounds x="260" y="100" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_0fl91v7_di" bpmnElement="Event_0fl91v7"> | |
<omgdc:Bounds x="192" y="122" width="36" height="36" /> | |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_10llakz_di" bpmnElement="Gateway_10llakz" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_10llakz_di" bpmnElement="Gateway_10llakz" isMarkerVisible="true"> |
<bpmndi:BPMNShape id="Event_027iw82_di" bpmnElement="Event_027iw82"> | <bpmndi:BPMNShape id="Event_027iw82_di" bpmnElement="Event_027iw82"> |
<omgdc:Bounds x="922" y="122" width="36" height="36" /> | <omgdc:Bounds x="922" y="122" width="36" height="36" /> |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Gateway_082qcbn_di" bpmnElement="Gateway_082qcbn" isMarkerVisible="true"> | |
<omgdc:Bounds x="395" y="15" width="50" height="50" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Gateway_0rys836_di" bpmnElement="Gateway_0rys836" isMarkerVisible="true"> | |
<omgdc:Bounds x="615" y="15" width="50" height="50" /> | |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNEdge id="Flow_1ut7uu9_di" bpmnElement="Flow_1ut7uu9"> | <bpmndi:BPMNEdge id="Flow_1ut7uu9_di" bpmnElement="Flow_1ut7uu9"> |
<omgdi:waypoint x="922" y="140" /> | <omgdi:waypoint x="922" y="140" /> |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNEdge id="Flow_17qwbm9_di" bpmnElement="Flow_17qwbm9"> | <bpmndi:BPMNEdge id="Flow_0nou2q0_di" bpmnElement="Flow_0nou2q0"> |
<omgdi:waypoint x="420" y="115" /> | <omgdi:waypoint x="420" y="115" /> |
<omgdi:waypoint x="420" y="65" /> | <omgdi:waypoint x="420" y="40" /> |
| <omgdi:waypoint x="310" y="40" /> |
| <omgdi:waypoint x="310" y="100" /> |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNEdge id="Flow_13y0vv1_di" bpmnElement="Flow_13y0vv1"> | <bpmndi:BPMNEdge id="Flow_1m9hwun_di" bpmnElement="Flow_1m9hwun"> |
<omgdi:waypoint x="395" y="40" /> | <omgdi:waypoint x="860" y="115" /> |
| <omgdi:waypoint x="860" y="40" /> |
<omgdi:waypoint x="310" y="40" /> | <omgdi:waypoint x="310" y="40" /> |
<omgdi:waypoint x="310" y="100" /> | <omgdi:waypoint x="310" y="100" /> |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNEdge id="Flow_1vn4twt_di" bpmnElement="Flow_1vn4twt"> | <bpmndi:BPMNEdge id="Flow_1ogbrx6_di" bpmnElement="Flow_1ogbrx6"> |
<omgdi:waypoint x="640" y="115" /> | <omgdi:waypoint x="640" y="115" /> |
<omgdi:waypoint x="640" y="65" /> | <omgdi:waypoint x="640" y="40" /> |
</bpmndi:BPMNEdge> | <omgdi:waypoint x="310" y="40" /> |
<bpmndi:BPMNEdge id="Flow_1wmytwl_di" bpmnElement="Flow_1wmytwl"> | <omgdi:waypoint x="310" y="100" /> |
<omgdi:waypoint x="615" y="40" /> | |
<omgdi:waypoint x="445" y="40" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_19nd13o_di" bpmnElement="Flow_19nd13o"> | |
<omgdi:waypoint x="860" y="115" /> | |
<omgdi:waypoint x="860" y="40" /> | |
<omgdi:waypoint x="665" y="40" /> | |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
</bpmndi:BPMNPlane> | </bpmndi:BPMNPlane> |
<task id="Activity_0pz270f"> | <task id="Activity_0pz270f"> |
<incoming>Flow_1ut7uu9</incoming> | <incoming>Flow_1ut7uu9</incoming> |
<incoming>Flow_13y0vv1</incoming> | <incoming>Flow_0nou2q0</incoming> |
| <incoming>Flow_1m9hwun</incoming> |
| <incoming>Flow_1ogbrx6</incoming> |
<outgoing>Flow_14n14wf</outgoing> | <outgoing>Flow_14n14wf</outgoing> |
</task> | </task> |
<incoming>Flow_14n14wf</incoming> | <incoming>Flow_14n14wf</incoming> |
<outgoing>Flow_0iav8a3</outgoing> | <outgoing>Flow_0iav8a3</outgoing> |
<outgoing>Flow_17qwbm9</outgoing> | <outgoing>Flow_0nou2q0</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_14n14wf" sourceRef="Activity_0pz270f" targetRef="Gateway_1jszj3z" /> | <sequenceFlow id="Flow_14n14wf" sourceRef="Activity_0pz270f" targetRef="Gateway_1jszj3z" /> |
<incoming>Flow_1kum4k7</incoming> | <incoming>Flow_1kum4k7</incoming> |
<outgoing>Flow_08xxpa3</outgoing> | <outgoing>Flow_08xxpa3</outgoing> |
<outgoing>Flow_1vn4twt</outgoing> | <outgoing>Flow_1ogbrx6</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_1kum4k7" sourceRef="Activity_0v6ywmg" targetRef="Gateway_02ctw3e" /> | <sequenceFlow id="Flow_1kum4k7" sourceRef="Activity_0v6ywmg" targetRef="Gateway_02ctw3e" /> |
<incoming>Flow_0n5urrx</incoming> | <incoming>Flow_0n5urrx</incoming> |
<outgoing>Flow_0heldi6</outgoing> | <outgoing>Flow_0heldi6</outgoing> |
<outgoing>Flow_19nd13o</outgoing> | <outgoing>Flow_1m9hwun</outgoing> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_0n5urrx" sourceRef="Activity_1enrs4s" targetRef="Gateway_10llakz" /> | <sequenceFlow id="Flow_0n5urrx" sourceRef="Activity_1enrs4s" targetRef="Gateway_10llakz" /> |
</endEvent> | </endEvent> |
<sequenceFlow id="Flow_0heldi6" sourceRef="Gateway_10llakz" targetRef="Event_027iw82" /> | <sequenceFlow id="Flow_0heldi6" sourceRef="Gateway_10llakz" targetRef="Event_027iw82" /> |
<exclusiveGateway id="Gateway_082qcbn"> | <sequenceFlow id="Flow_0nou2q0" sourceRef="Gateway_1jszj3z" targetRef="Activity_0pz270f" /> |
<incoming>Flow_17qwbm9</incoming> | <sequenceFlow id="Flow_1m9hwun" sourceRef="Gateway_10llakz" targetRef="Activity_0pz270f" /> |
<incoming>Flow_1wmytwl</incoming> | <sequenceFlow id="Flow_1ogbrx6" sourceRef="Gateway_02ctw3e" targetRef="Activity_0pz270f" /> |
<outgoing>Flow_13y0vv1</outgoing> | |
</exclusiveGateway> | |
<sequenceFlow id="Flow_17qwbm9" sourceRef="Gateway_1jszj3z" targetRef="Gateway_082qcbn" /> | |
<sequenceFlow id="Flow_13y0vv1" sourceRef="Gateway_082qcbn" targetRef="Activity_0pz270f" /> | |
<exclusiveGateway id="Gateway_0rys836"> | |
<incoming>Flow_1vn4twt</incoming> | |
<incoming>Flow_19nd13o</incoming> | |
<outgoing>Flow_1wmytwl</outgoing> | |
</exclusiveGateway> | |
<sequenceFlow id="Flow_1vn4twt" sourceRef="Gateway_02ctw3e" targetRef="Gateway_0rys836" /> | |
<sequenceFlow id="Flow_1wmytwl" sourceRef="Gateway_0rys836" targetRef="Gateway_082qcbn" /> | |
<sequenceFlow id="Flow_19nd13o" sourceRef="Gateway_10llakz" targetRef="Gateway_0rys836" /> | |
</process> | </process> |
<bpmndi:BPMNDiagram id="BpmnDiagram_1"> | <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0jtkq8g"> | <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0jtkq8g"> |
| <bpmndi:BPMNShape id="Event_0fl91v7_di" bpmnElement="Event_0fl91v7"> |
| <omgdc:Bounds x="192" y="122" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0pz270f_di" bpmnElement="Activity_0pz270f"> |
| <omgdc:Bounds x="260" y="100" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_1jszj3z_di" bpmnElement="Gateway_1jszj3z" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_1jszj3z_di" bpmnElement="Gateway_1jszj3z" isMarkerVisible="true"> |
<omgdc:Bounds x="395" y="115" width="50" height="50" /> | <omgdc:Bounds x="395" y="115" width="50" height="50" /> |
<bpmndi:BPMNShape id="Activity_1enrs4s_di" bpmnElement="Activity_1enrs4s"> | <bpmndi:BPMNShape id="Activity_1enrs4s_di" bpmnElement="Activity_1enrs4s"> |
<omgdc:Bounds x="700" y="100" width="100" height="80" /> | <omgdc:Bounds x="700" y="100" width="100" height="80" /> |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0pz270f_di" bpmnElement="Activity_0pz270f"> | |
<omgdc:Bounds x="260" y="100" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Event_0fl91v7_di" bpmnElement="Event_0fl91v7"> | |
<omgdc:Bounds x="192" y="122" width="36" height="36" /> | |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_10llakz_di" bpmnElement="Gateway_10llakz" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_10llakz_di" bpmnElement="Gateway_10llakz" isMarkerVisible="true"> |
<bpmndi:BPMNShape id="Event_027iw82_di" bpmnElement="Event_027iw82"> | <bpmndi:BPMNShape id="Event_027iw82_di" bpmnElement="Event_027iw82"> |
<omgdc:Bounds x="922" y="122" width="36" height="36" /> | <omgdc:Bounds x="922" y="122" width="36" height="36" /> |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Gateway_082qcbn_di" bpmnElement="Gateway_082qcbn" isMarkerVisible="true"> | |
<omgdc:Bounds x="395" y="15" width="50" height="50" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Gateway_0rys836_di" bpmnElement="Gateway_0rys836" isMarkerVisible="true"> | |
<omgdc:Bounds x="615" y="15" width="50" height="50" /> | |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNEdge id="Flow_1ut7uu9_di" bpmnElement="Flow_1ut7uu9"> | <bpmndi:BPMNEdge id="Flow_1ut7uu9_di" bpmnElement="Flow_1ut7uu9"> |
<omgdi:waypoint x="922" y="140" /> | <omgdi:waypoint x="922" y="140" /> |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNEdge id="Flow_17qwbm9_di" bpmnElement="Flow_17qwbm9"> | <bpmndi:BPMNEdge id="Flow_0nou2q0_di" bpmnElement="Flow_0nou2q0"> |
<omgdi:waypoint x="420" y="115" /> | <omgdi:waypoint x="420" y="115" /> |
<omgdi:waypoint x="420" y="65" /> | <omgdi:waypoint x="420" y="60" /> |
| <omgdi:waypoint x="330" y="60" /> |
| <omgdi:waypoint x="330" y="100" /> |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
<bpmndi:BPMNEdge id="Flow_13y0vv1_di" bpmnElement="Flow_13y0vv1"> | <bpmndi:BPMNEdge id="Flow_1m9hwun_di" bpmnElement="Flow_1m9hwun"> |
<omgdi:waypoint x="395" y="40" /> | <omgdi:waypoint x="860" y="115" /> |
| <omgdi:waypoint x="860" y="20" /> |
| <omgdi:waypoint x="290" y="20" /> |
| <omgdi:waypoint x="290" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1ogbrx6_di" bpmnElement="Flow_1ogbrx6"> |
| <omgdi:waypoint x="640" y="115" /> |
| <omgdi:waypoint x="640" y="40" /> |
<omgdi:waypoint x="310" y="40" /> | <omgdi:waypoint x="310" y="40" /> |
<omgdi:waypoint x="310" y="100" /> | <omgdi:waypoint x="310" y="100" /> |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1vn4twt_di" bpmnElement="Flow_1vn4twt"> | |
<omgdi:waypoint x="640" y="115" /> | |
<omgdi:waypoint x="640" y="65" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_1wmytwl_di" bpmnElement="Flow_1wmytwl"> | |
<omgdi:waypoint x="615" y="40" /> | |
<omgdi:waypoint x="445" y="40" /> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="Flow_19nd13o_di" bpmnElement="Flow_19nd13o"> | |
<omgdi:waypoint x="860" y="115" /> | |
<omgdi:waypoint x="860" y="40" /> | |
<omgdi:waypoint x="665" y="40" /> | |
</bpmndi:BPMNEdge> | </bpmndi:BPMNEdge> |
</bpmndi:BPMNPlane> | </bpmndi:BPMNPlane> |
===== Примечания ===== | ===== Примечания ===== |
| |
Тут дополнительные комментарии (этот раздел опционален) | Не меняя логику процесса, сходящиеся развилки облегчают ее понимание. |
| |
===== Исключения ===== | |
| |
Исключения из указанного выше правила (если есть) | |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[do_not_save_on_gateways]] |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-24 17:07// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-24 17:07// |