Различия

Показаны различия между двумя версиями страницы.

Ссылка на это сравнение

Следующая версия
Предыдущая версия
ru:rule:disconnected-flows [2024-01-30 01:16] – создано Anatoly Belaychukru:rule:disconnected-flows [2024-08-22 20:40] (текущий) – [Несвязанные потоки управления не допускаются] Anatoly Belaychuk
Строка 1: Строка 1:
-====== 0-TBD Несвязанные потоки управления не допускаются ======+====== Несвязанные потоки управления не допускаются ======
  
-{{tag>поток_управления}} +{{tag>поток_управления пул}}
- +
-{{:ru:v_razrabotke.png?nolink&200|}} +
- +
-Тут описание правила+
  
 +Пул (если это не "черный ящик") изображает целостный поток работ одного процесса.
 ===== ✔ Как надо ===== ===== ✔ Как надо =====
  
-Тут паттерны (диаграммы)+<bpmnio type="bpmn"> 
 +<?xml version="1.0" encoding="UTF-8"?> 
 +<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> 
 +  <collaboration id="Collaboration_10zqm2r"> 
 +    <participant id="Participant_110owoo" processRef="Process_176jrvl" /> 
 +  </collaboration> 
 +  <process id="Process_176jrvl"> 
 +    <startEvent id="Event_1cjxgi0"> 
 +      <outgoing>Flow_09yk404</outgoing> 
 +    </startEvent> 
 +    <task id="Activity_1dvlcpn"> 
 +      <incoming>Flow_09yk404</incoming> 
 +      <outgoing>Flow_139h3kd</outgoing> 
 +    </task> 
 +    <sequenceFlow id="Flow_09yk404" sourceRef="Event_1cjxgi0" targetRef="Activity_1dvlcpn" /> 
 +    <sequenceFlow id="Flow_139h3kd" sourceRef="Activity_1dvlcpn" targetRef="Gateway_05liqrd" /> 
 +    <task id="Activity_0r0z9tu"> 
 +      <incoming>Flow_07ytixn</incoming> 
 +      <outgoing>Flow_0i15i3u</outgoing> 
 +    </task> 
 +    <sequenceFlow id="Flow_0i15i3u" sourceRef="Activity_0r0z9tu" targetRef="Event_17xaf2z" /> 
 +    <endEvent id="Event_17xaf2z"> 
 +      <incoming>Flow_0i15i3u</incoming> 
 +    </endEvent> 
 +    <endEvent id="Event_1r92ehp"> 
 +      <incoming>Flow_0bdcihl</incoming> 
 +    </endEvent> 
 +    <exclusiveGateway id="Gateway_05liqrd"> 
 +      <incoming>Flow_139h3kd</incoming> 
 +      <outgoing>Flow_0bdcihl</outgoing> 
 +      <outgoing>Flow_07ytixn</outgoing> 
 +    </exclusiveGateway> 
 +    <sequenceFlow id="Flow_0bdcihl" sourceRef="Gateway_05liqrd" targetRef="Event_1r92ehp" /> 
 +    <sequenceFlow id="Flow_07ytixn" sourceRef="Gateway_05liqrd" targetRef="Activity_0r0z9tu" /> 
 +  </process> 
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_10zqm2r"> 
 +      <bpmndi:BPMNShape id="Participant_110owoo_di" bpmnElement="Participant_110owoo" isHorizontal="true"> 
 +        <omgdc:Bounds x="160" y="50" width="470" height="250" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1cjxgi0_di" bpmnElement="Event_1cjxgi0"> 
 +        <omgdc:Bounds x="232" y="102" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1dvlcpn_di" bpmnElement="Activity_1dvlcpn"> 
 +        <omgdc:Bounds x="300" y="80" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0r0z9tu_di" bpmnElement="Activity_0r0z9tu"> 
 +        <omgdc:Bounds x="430" y="190" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_17xaf2z_di" bpmnElement="Event_17xaf2z"> 
 +        <omgdc:Bounds x="562" y="212" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1r92ehp_di" bpmnElement="Event_1r92ehp"> 
 +        <omgdc:Bounds x="562" y="102" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_05liqrd_di" bpmnElement="Gateway_05liqrd" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="455" y="95" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNEdge id="Flow_09yk404_di" bpmnElement="Flow_09yk404"> 
 +        <omgdi:waypoint x="268" y="120" /> 
 +        <omgdi:waypoint x="300" y="120" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_139h3kd_di" bpmnElement="Flow_139h3kd"> 
 +        <omgdi:waypoint x="400" y="120" /> 
 +        <omgdi:waypoint x="455" y="120" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0i15i3u_di" bpmnElement="Flow_0i15i3u"> 
 +        <omgdi:waypoint x="530" y="230" /> 
 +        <omgdi:waypoint x="562" y="230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0bdcihl_di" bpmnElement="Flow_0bdcihl"> 
 +        <omgdi:waypoint x="505" y="120" /> 
 +        <omgdi:waypoint x="562" y="120" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_07ytixn_di" bpmnElement="Flow_07ytixn"> 
 +        <omgdi:waypoint x="480" y="145" /> 
 +        <omgdi:waypoint x="480" y="190" /> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio> 
 + 
 +<bpmnio type="bpmn"> 
 +<?xml version="1.0" encoding="UTF-8"?> 
 +<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> 
 +  <process id="Process_0iqa3w4"> 
 +    <subProcess id="Activity_09kp4hv"> 
 +      <startEvent id="Event_0p06cx8"> 
 +        <outgoing>Flow_14yr9cw</outgoing> 
 +      </startEvent> 
 +      <sequenceFlow id="Flow_14yr9cw" sourceRef="Event_0p06cx8" targetRef="Gateway_0jjot3n" /> 
 +      <parallelGateway id="Gateway_0jjot3n"> 
 +        <incoming>Flow_14yr9cw</incoming> 
 +        <outgoing>Flow_0pal0rf</outgoing> 
 +        <outgoing>Flow_1ahf9k9</outgoing> 
 +        <outgoing>Flow_1bdy9co</outgoing> 
 +      </parallelGateway> 
 +      <task id="Activity_1g1octh"> 
 +        <incoming>Flow_0pal0rf</incoming> 
 +        <outgoing>Flow_1rsbsvz</outgoing> 
 +      </task> 
 +      <sequenceFlow id="Flow_0pal0rf" sourceRef="Gateway_0jjot3n" targetRef="Activity_1g1octh" /> 
 +      <task id="Activity_17zmcwc"> 
 +        <incoming>Flow_1ahf9k9</incoming> 
 +        <outgoing>Flow_0ht242j</outgoing> 
 +      </task> 
 +      <sequenceFlow id="Flow_1ahf9k9" sourceRef="Gateway_0jjot3n" targetRef="Activity_17zmcwc" /> 
 +      <task id="Activity_0lg8asy"> 
 +        <incoming>Flow_1bdy9co</incoming> 
 +        <outgoing>Flow_02jnx7f</outgoing> 
 +      </task> 
 +      <sequenceFlow id="Flow_1bdy9co" sourceRef="Gateway_0jjot3n" targetRef="Activity_0lg8asy" /> 
 +      <sequenceFlow id="Flow_0ht242j" sourceRef="Activity_17zmcwc" targetRef="Gateway_03eb39x" /> 
 +      <parallelGateway id="Gateway_03eb39x"> 
 +        <incoming>Flow_0ht242j</incoming> 
 +        <incoming>Flow_02jnx7f</incoming> 
 +        <incoming>Flow_1rsbsvz</incoming> 
 +        <outgoing>Flow_1upag9f</outgoing> 
 +      </parallelGateway> 
 +      <sequenceFlow id="Flow_02jnx7f" sourceRef="Activity_0lg8asy" targetRef="Gateway_03eb39x" /> 
 +      <sequenceFlow id="Flow_1rsbsvz" sourceRef="Activity_1g1octh" targetRef="Gateway_03eb39x" /> 
 +      <endEvent id="Event_1bdrdma"> 
 +        <incoming>Flow_1upag9f</incoming> 
 +      </endEvent> 
 +      <sequenceFlow id="Flow_1upag9f" sourceRef="Gateway_03eb39x" targetRef="Event_1bdrdma" /> 
 +    </subProcess> 
 +  </process> 
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0iqa3w4"> 
 +      <bpmndi:BPMNShape id="Activity_09kp4hv_di" bpmnElement="Activity_09kp4hv" isExpanded="true"> 
 +        <omgdc:Bounds x="270" y="30" width="450" height="380" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_0p06cx8_di" bpmnElement="Event_0p06cx8"> 
 +        <omgdc:Bounds x="300" y="202" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1t00t6l_di" bpmnElement="Gateway_0jjot3n"> 
 +        <omgdc:Bounds x="365" y="195" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_17zmcwc_di" bpmnElement="Activity_17zmcwc"> 
 +        <omgdc:Bounds x="440" y="180" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1g1octh_di" bpmnElement="Activity_1g1octh"> 
 +        <omgdc:Bounds x="440" y="70" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_0jzklte_di" bpmnElement="Gateway_03eb39x"> 
 +        <omgdc:Bounds x="575" y="195" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1bdrdma_di" bpmnElement="Event_1bdrdma"> 
 +        <omgdc:Bounds x="652" y="202" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0lg8asy_di" bpmnElement="Activity_0lg8asy"> 
 +        <omgdc:Bounds x="440" y="290" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNEdge id="Flow_14yr9cw_di" bpmnElement="Flow_14yr9cw"> 
 +        <omgdi:waypoint x="336" y="220" /> 
 +        <omgdi:waypoint x="365" y="220" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0pal0rf_di" bpmnElement="Flow_0pal0rf"> 
 +        <omgdi:waypoint x="390" y="195" /> 
 +        <omgdi:waypoint x="390" y="110" /> 
 +        <omgdi:waypoint x="440" y="110" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1ahf9k9_di" bpmnElement="Flow_1ahf9k9"> 
 +        <omgdi:waypoint x="415" y="220" /> 
 +        <omgdi:waypoint x="440" y="220" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1bdy9co_di" bpmnElement="Flow_1bdy9co"> 
 +        <omgdi:waypoint x="390" y="245" /> 
 +        <omgdi:waypoint x="390" y="330" /> 
 +        <omgdi:waypoint x="440" y="330" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0ht242j_di" bpmnElement="Flow_0ht242j"> 
 +        <omgdi:waypoint x="540" y="220" /> 
 +        <omgdi:waypoint x="575" y="220" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_02jnx7f_di" bpmnElement="Flow_02jnx7f"> 
 +        <omgdi:waypoint x="540" y="330" /> 
 +        <omgdi:waypoint x="600" y="330" /> 
 +        <omgdi:waypoint x="600" y="245" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1rsbsvz_di" bpmnElement="Flow_1rsbsvz"> 
 +        <omgdi:waypoint x="540" y="110" /> 
 +        <omgdi:waypoint x="600" y="110" /> 
 +        <omgdi:waypoint x="600" y="195" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1upag9f_di" bpmnElement="Flow_1upag9f"> 
 +        <omgdi:waypoint x="625" y="220" /> 
 +        <omgdi:waypoint x="652" y="220" /> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio>
  
 ===== ✘ Как НЕ надо ===== ===== ✘ Как НЕ надо =====
Строка 15: Строка 205:
 <bpmnio type="bpmn"> <bpmnio type="bpmn">
 <?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
-<definitions +<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> 
-    xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" +  <collaboration id="Collaboration_10zqm2r"> 
-    xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" +    <participant id="Participant_110owoo" processRef="Process_176jrvl" /> 
-    xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" +  </collaboration> 
-    xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" +  <process id="Process_176jrvl"> 
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +    <startEvent id="Event_1cjxgi0"> 
-    id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" +      <outgoing>Flow_09yk404</outgoing> 
-    targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> +    </startEvent> 
-    <collaboration id="Collaboration_1oh70al"> +    <task id="Activity_1dvlcpn"> 
-        <participant id="Participant_1r8g02m" name="Тут антипаттерны (диаграммы) +      <incoming>Flow_09yk404</incoming> 
-" processRef="Process_1" /> +      <outgoing>Flow_139h3kd</outgoing
-    </collaboration> +    </task> 
-    <process id="Process_1" isExecutable="false"> +    <sequenceFlow id="Flow_09yk404" sourceRef="Event_1cjxgi0" targetRef="Activity_1dvlcpn" /> 
-        <startEvent id="StartEvent_1" name="Start"> +    <endEvent id="Event_1r92ehp"> 
-        <outgoing>SequenceFlow_1</outgoing> +      <incoming>Flow_139h3kd</incoming
-        </startEvent> +    </endEvent
-        <task id="Task_1" name="Do Something"> +    <sequenceFlow id="Flow_139h3kdsourceRef="Activity_1dvlcpntargetRef="Event_1r92ehp/
-        <incoming>SequenceFlow_1</incoming> +    <task id="Activity_0qls7hc"> 
-        <incoming>SequenceFlow_121ul2c</incoming+      <incoming>Flow_0q44hm4</incoming
-        <incoming>SequenceFlow_0nuwads</incoming+      <outgoing>Flow_0vzrmjq</outgoing> 
-        <outgoing>SequenceFlow_2</outgoing+    </task
-        </task+    <sequenceFlow id="Flow_0q44hm4sourceRef="Event_1l6ez23targetRef="Activity_0qls7hc" /
-        <exclusiveGateway id="ExclusiveGateway_1name="Result OKgatewayDirection="Diverging"> +    <startEvent id="Event_1l6ez23"> 
-        <incoming>SequenceFlow_2</incoming> +      <outgoing>Flow_0q44hm4</outgoing> 
-        <outgoing>SequenceFlow_0snv4kp</outgoing+    </startEvent
-        <outgoing>SequenceFlow_0nuwads</outgoing> +    <task id="Activity_0r0z9tu"> 
-        </exclusiveGateway+      <incoming>Flow_0vzrmjq</incoming> 
-        <task id="Task_17knw8lname="Monitor"> +      <outgoing>Flow_0i15i3u</outgoing
-        <outgoing>SequenceFlow_121ul2c</outgoing> +    </task
-        </task+    <sequenceFlow id="Flow_0vzrmjq" sourceRef="Activity_0qls7hc" targetRef="Activity_0r0z9tu" /> 
-        <endEvent id="EndEvent_0oj7l6x" name="End"> +    <sequenceFlow id="Flow_0i15i3u" sourceRef="Activity_0r0z9tu" targetRef="Event_17xaf2z" /> 
-        <incoming>SequenceFlow_0snv4kp</incoming> +    <endEvent id="Event_17xaf2z"> 
-        </endEvent+      <incoming>Flow_0i15i3u</incoming
-        <sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" /> +    </endEvent> 
-        <sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" /> +  </process> 
-        <sequenceFlow id="SequenceFlow_0nuwads" name="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" /> +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
-        <sequenceFlow id="SequenceFlow_2sourceRef="Task_1" targetRef="ExclusiveGateway_1" /+    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_10zqm2r"> 
-        <sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" /> +      <bpmndi:BPMNShape id="Participant_110owoo_di" bpmnElement="Participant_110owoo" isHorizontal="true"> 
-    </process> +        <omgdc:Bounds x="160" y="50" width="470" height="250" /> 
-        <bpmndi:BPMNDiagram id="BpmnDiagram_1"> +      </bpmndi:BPMNShape> 
-        <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al"> +      <bpmndi:BPMNShape id="Event_1cjxgi0_di" bpmnElement="Event_1cjxgi0"> 
-        <bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m"> +        <omgdc:Bounds x="232" y="102" width="36" height="36" /> 
-            <omgdc:Bounds x="104" y="78" width="668" height="297" /> +      </bpmndi:BPMNShape> 
-        </bpmndi:BPMNShape> +      <bpmndi:BPMNShape id="Activity_1dvlcpn_di" bpmnElement="Activity_1dvlcpn"> 
-        <bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1"> +        <omgdc:Bounds x="300" y="80" width="100" height="80" /> 
-            <omgdc:Bounds x="242" y="187" width="30" height="30" /> +      </bpmndi:BPMNShape
-            <bpmndi:BPMNLabel> +      <bpmndi:BPMNShape id="Event_1r92ehp_di" bpmnElement="Event_1r92ehp"> 
-            <omgdc:Bounds x="212" y="219" width="90" height="22" /> +        <omgdc:Bounds x="432" y="102" width="36" height="36" /> 
-            </bpmndi:BPMNLabel> +      </bpmndi:BPMNShape> 
-        </bpmndi:BPMNShape> +      <bpmndi:BPMNShape id="Activity_0qls7hc_di" bpmnElement="Activity_0qls7hc"> 
-        <bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1"> +        <omgdc:Bounds x="300" y="190" width="100" height="80" /> 
-            <omgdc:Bounds x="340" y="162" width="100" height="80" /> +      </bpmndi:BPMNShape
-            <bpmndi:BPMNLabel+      <bpmndi:BPMNShape id="Event_1l6ez23_di" bpmnElement="Event_1l6ez23"> 
-            <omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" /> +        <omgdc:Bounds x="232" y="212" width="36" height="36" /> 
-            </bpmndi:BPMNLabel> +      </bpmndi:BPMNShape> 
-        </bpmndi:BPMNShape> +      <bpmndi:BPMNShape id="Activity_0r0z9tu_di" bpmnElement="Activity_0r0z9tu"> 
-        <bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true"> +        <omgdc:Bounds x="430" y="190" width="100" height="80" /> 
-            <omgdc:Bounds x="508" y="182" width="40" height="40" /> +      </bpmndi:BPMNShape> 
-            <bpmndi:BPMNLabel+      <bpmndi:BPMNShape id="Event_17xaf2z_di" bpmnElement="Event_17xaf2z"> 
-            <omgdc:Bounds x="483" y="234" width="90" height="24" /> +        <omgdc:Bounds x="562" y="212" width="36" height="36" /> 
-            </bpmndi:BPMNLabel> +      </bpmndi:BPMNShape
-        </bpmndi:BPMNShape> +      <bpmndi:BPMNEdge id="Flow_09yk404_dibpmnElement="Flow_09yk404"
-        <bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l"> +        <omgdi:waypoint x="268y="120" /> 
-            <omgdc:Bounds x="340" y="275" width="100" height="80" /> +        <omgdi:waypoint x="300" y="120" /
-        </bpmndi:BPMNShape> +      </bpmndi:BPMNEdge
-        <bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x"> +      <bpmndi:BPMNEdge id="Flow_139h3kd_di" bpmnElement="Flow_139h3kd"> 
-            <omgdc:Bounds x="648" y="184" width="36" height="36" /> +        <omgdi:waypoint x="400" y="120" /> 
-            <bpmndi:BPMNLabel+        <omgdi:waypoint x="432" y="120" /> 
-            <omgdc:Bounds x="621y="220width="90height="20" /> +      </bpmndi:BPMNEdge
-            </bpmndi:BPMNLabel+      <bpmndi:BPMNEdge id="Flow_0q44hm4_dibpmnElement="Flow_0q44hm4"
-        </bpmndi:BPMNShape+        <omgdi:waypoint x="268y="230" /> 
-        <bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1"> +        <omgdi:waypoint x="300" y="230" /
-            <omgdi:waypoint xsi:type="omgdc:Point" x="272" y="202" /> +      </bpmndi:BPMNEdge> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="340" y="202" /> +      <bpmndi:BPMNEdge id="Flow_0vzrmjq_di" bpmnElement="Flow_0vzrmjq"> 
-            <bpmndi:BPMNLabel+        <omgdi:waypoint x="400" y="230" /> 
-            <omgdc:Bounds x="225y="140width="90height="20" /> +        <omgdi:waypoint x="430" y="230" /> 
-            </bpmndi:BPMNLabel+      </bpmndi:BPMNEdge
-        </bpmndi:BPMNEdge> +      <bpmndi:BPMNEdge id="Flow_0i15i3u_di" bpmnElement="Flow_0i15i3u"> 
-        <bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c"> +        <omgdi:waypoint x="530" y="230/> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="275" /> +        <omgdi:waypoint x="562y="230" /> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="242" /> +      </bpmndi:BPMNEdge
-            <bpmndi:BPMNLabel+    </bpmndi:BPMNPlane
-            <omgdc:Bounds x="358" y="273width="90height="20" /> +  </bpmndi:BPMNDiagram
-            </bpmndi:BPMNLabel+</definitions> 
-        </bpmndi:BPMNEdge+</bpmnio> 
-        <bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads"+ 
-            <omgdi:waypoint xsi:type="omgdc:Pointx="528y="182/+<bpmnio type="bpmn"
-            <omgdi:waypoint xsi:type="omgdc:Pointx="528y="110" /+<?xml version="1.0encoding="UTF-8"?
-            <omgdi:waypoint xsi:type="omgdc:Pointx="390y="110" /> +<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODELxmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DIxmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanceid="sid-38422fae-e03e-43a3-bef4-bd33b32041b2targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.ioexporterVersion="0.10.1"
-            <omgdi:waypoint xsi:type="omgdc:Pointx="390y="162/+  <process id="Process_0as7h54"> 
-            <bpmndi:BPMNLabel+    <subProcess id="Activity_1n7dwt1"
-            <omgdc:Bounds x="495y="140width="90" height="20" /> +      <task id="Activity_0gegco7/> 
-            </bpmndi:BPMNLabel+      <task id="Activity_0zlljal/> 
-        </bpmndi:BPMNEdge+      <task id="Activity_1t3yfc3" /> 
-        <bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2"> +    </subProcess
-            <omgdi:waypoint xsi:type="omgdc:Pointx="440y="202/+  </process> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="508" y="202" /> +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"
-            <bpmndi:BPMNLabel+    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_0as7h54"> 
-            <omgdc:Bounds x="433" y="192" width="90" height="20" /> +      <bpmndi:BPMNShape id="Activity_1n7dwt1_dibpmnElement="Activity_1n7dwt1isExpanded="true"> 
-            </bpmndi:BPMNLabel+        <omgdc:Bounds x="150" y="10" width="200" height="380" /> 
-        </bpmndi:BPMNEdge> +      </bpmndi:BPMNShape
-        <bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp"> +      <bpmndi:BPMNShape id="Activity_0gegco7_di" bpmnElement="Activity_0gegco7"> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="548" y="202/> +        <omgdc:Bounds x="200" y="50" width="100" height="80" /> 
-            <omgdi:waypoint xsi:type="omgdc:Pointx="648" y="202" /> +      </bpmndi:BPMNShape
-            <bpmndi:BPMNLabel+      <bpmndi:BPMNShape id="Activity_0zlljal_di" bpmnElement="Activity_0zlljal"> 
-            <omgdc:Bounds x="550" y="183" width="90" height="20" /> +        <omgdc:Bounds x="200" y="160width="100height="80" /> 
-            </bpmndi:BPMNLabel+      </bpmndi:BPMNShape
-        </bpmndi:BPMNEdge> +      <bpmndi:BPMNShape id="Activity_1t3yfc3_di" bpmnElement="Activity_1t3yfc3"> 
-        </bpmndi:BPMNPlane> +        <omgdc:Bounds x="200" y="270" width="100" height="80" /> 
-    </bpmndi:BPMNDiagram>+      </bpmndi:BPMNShape
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram>
 </definitions> </definitions>
 </bpmnio> </bpmnio>
Строка 130: Строка 322:
 ===== Примечания ===== ===== Примечания =====
  
-Тут дополнительные комментарии (этот раздел опционален)+Хотя спецификация BPMN 2.0 не запрещает несвязные потоки управления в рамках одного пула, это плохая практика.
  
 +У процесса может быть больше одного начального и больше одного конечного события, но все они должны быть связаны потокам управления в единый поток работ.
 +
 +Подпроцесс "параллельный блок" ("как не надо", внизу) лучше не использовать, а явно показывать параллельное расхождение и схождение ("как надо", внизу).
 ===== Исключения ===== ===== Исключения =====
  
-Исключения из указанного выше правила+Подпроцесс "для данного случая" (ad-hoc):
  
-===== Смотри также ===== +<bpmnio type="bpmn"> 
- +<?xml version="1.0" encoding="UTF-8"?> 
-Тут ссылки на страницы со схожим контентом (этот раздел опционален)+<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> 
 +  <process id="Process_04qhr60"> 
 +    <adHocSubProcess id="Activity_0hvvgum"> 
 +      <task id="Activity_1o88uzt" /> 
 +      <task id="Activity_09epmjb" /> 
 +      <task id="Activity_06t8j73" /> 
 +      <task id="Activity_0d33emt" /> 
 +    </adHocSubProcess> 
 +  </process> 
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_04qhr60"> 
 +      <bpmndi:BPMNShape id="Activity_054xru4_di" bpmnElement="Activity_0hvvgum" isExpanded="true"> 
 +        <omgdc:Bounds x="330" y="110" width="320" height="270" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1o88uzt_di" bpmnElement="Activity_1o88uzt"> 
 +        <omgdc:Bounds x="370" y="150" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_09epmjb_di" bpmnElement="Activity_09epmjb"> 
 +        <omgdc:Bounds x="370" y="260" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_06t8j73_di" bpmnElement="Activity_06t8j73"> 
 +        <omgdc:Bounds x="510" y="150" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0d33emt_di" bpmnElement="Activity_0d33emt"> 
 +        <omgdc:Bounds x="510" y="260" width="100" height="80" /> 
 +      </bpmndi:BPMNShape> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio>
  
 ===== Автор(ы) ===== ===== Автор(ы) =====
  
-Тут подпись +--- //[[user:bell|Anatoly Belaychuk]] 2024-02-23 19:05//