Различия

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

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

Предыдущая версия справа и слева Предыдущая версия
Следующая версия
Предыдущая версия
ru:rule:do_not_save_on_gateways [2024-08-26 10:45] – [✘ Как НЕ надо] Anatoly Belaychukru:rule:do_not_save_on_gateways [2024-08-26 13:08] (текущий) – [Примечания] 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_1btdq44"> 
 +    <participant id="Participant_17sw5vi" name="P1" processRef="Process_1r5h2r7" /> 
 +  </collaboration> 
 +  <process id="Process_1r5h2r7"> 
 +    <laneSet id="LaneSet_1ecton7"> 
 +      <lane id="Lane_0vtsaxp" name="L3"> 
 +        <flowNodeRef>Activity_03hgezk</flowNodeRef> 
 +        <flowNodeRef>Gateway_1bs1364</flowNodeRef> 
 +        <flowNodeRef>Activity_0kvoegs</flowNodeRef> 
 +        <flowNodeRef>Event_1h3t7x3</flowNodeRef> 
 +        <flowNodeRef>Activity_03taosi</flowNodeRef> 
 +        <flowNodeRef>Event_1fsyhqv</flowNodeRef> 
 +        <flowNodeRef>Gateway_1l9j0rz</flowNodeRef> 
 +        <flowNodeRef>Gateway_1keeo65</flowNodeRef> 
 +      </lane> 
 +      <lane id="Lane_1c5yp1f" name="L1"> 
 +        <flowNodeRef>Event_1buu9u4</flowNodeRef> 
 +        <flowNodeRef>Activity_1j61s03</flowNodeRef> 
 +        <flowNodeRef>Gateway_1ceaa8l</flowNodeRef> 
 +        <flowNodeRef>Gateway_1tyqsqd</flowNodeRef> 
 +        <flowNodeRef>Activity_0y9vtiq</flowNodeRef> 
 +        <flowNodeRef>Gateway_0j7qjab</flowNodeRef> 
 +        <flowNodeRef>Activity_0cyasjk</flowNodeRef> 
 +        <flowNodeRef>Gateway_0thivaj</flowNodeRef> 
 +        <flowNodeRef>Gateway_09wgv00</flowNodeRef> 
 +      </lane> 
 +      <lane id="Lane_04hpp5l" name="L2"> 
 +        <flowNodeRef>Activity_1xfsgpq</flowNodeRef> 
 +      </lane> 
 +    </laneSet> 
 +    <sequenceFlow id="Flow_0vxdrsx" sourceRef="Gateway_1ceaa8l" targetRef="Activity_03hgezk" /> 
 +    <sequenceFlow id="Flow_1gtdwsm" sourceRef="Gateway_0thivaj" targetRef="Gateway_1keeo65" /> 
 +    <sequenceFlow id="Flow_1pssld8" sourceRef="Gateway_09wgv00" targetRef="Activity_1xfsgpq" /> 
 +    <sequenceFlow id="Flow_05t3f7e" sourceRef="Event_1buu9u4" targetRef="Activity_1j61s03" /> 
 +    <sequenceFlow id="Flow_0sbyowp" sourceRef="Activity_1j61s03" targetRef="Gateway_1ceaa8l" /> 
 +    <sequenceFlow id="Flow_19w4cml" sourceRef="Gateway_1ceaa8l" targetRef="Gateway_1tyqsqd" /> 
 +    <sequenceFlow id="Flow_1a0lia5" sourceRef="Gateway_1tyqsqd" targetRef="Activity_0y9vtiq" /> 
 +    <sequenceFlow id="Flow_1y8jke1" sourceRef="Gateway_1tyqsqd" targetRef="Activity_0cyasjk" /> 
 +    <sequenceFlow id="Flow_1ufny1o" sourceRef="Gateway_1tyqsqd" targetRef="Gateway_0j7qjab" /> 
 +    <sequenceFlow id="Flow_1t49bww" sourceRef="Activity_0y9vtiq" targetRef="Gateway_0j7qjab" /> 
 +    <sequenceFlow id="Flow_1vnp4o1" sourceRef="Activity_0cyasjk" targetRef="Gateway_0thivaj" /> 
 +    <sequenceFlow id="Flow_07gass8" sourceRef="Gateway_0j7qjab" targetRef="Gateway_09wgv00" /> 
 +    <sequenceFlow id="Flow_1ehbyil" sourceRef="Gateway_0thivaj" targetRef="Gateway_09wgv00" /> 
 +    <sequenceFlow id="Flow_1ctp4dm" sourceRef="Activity_1xfsgpq" targetRef="Gateway_1l9j0rz" /> 
 +    <startEvent id="Event_1buu9u4" name="S1"> 
 +      <outgoing>Flow_05t3f7e</outgoing> 
 +    </startEvent> 
 +    <task id="Activity_1j61s03" name="T1"> 
 +      <incoming>Flow_05t3f7e</incoming> 
 +      <outgoing>Flow_0sbyowp</outgoing> 
 +    </task> 
 +    <parallelGateway id="Gateway_1ceaa8l"> 
 +      <incoming>Flow_0sbyowp</incoming> 
 +      <outgoing>Flow_19w4cml</outgoing> 
 +      <outgoing>Flow_0vxdrsx</outgoing> 
 +    </parallelGateway> 
 +    <exclusiveGateway id="Gateway_1tyqsqd"> 
 +      <incoming>Flow_19w4cml</incoming> 
 +      <outgoing>Flow_1a0lia5</outgoing> 
 +      <outgoing>Flow_1y8jke1</outgoing> 
 +      <outgoing>Flow_1ufny1o</outgoing> 
 +    </exclusiveGateway> 
 +    <task id="Activity_0y9vtiq" name="T3"> 
 +      <incoming>Flow_1a0lia5</incoming> 
 +      <outgoing>Flow_1t49bww</outgoing> 
 +    </task> 
 +    <exclusiveGateway id="Gateway_0j7qjab"> 
 +      <incoming>Flow_1t49bww</incoming> 
 +      <incoming>Flow_1ufny1o</incoming> 
 +      <outgoing>Flow_07gass8</outgoing> 
 +    </exclusiveGateway> 
 +    <task id="Activity_0cyasjk" name="T2"> 
 +      <incoming>Flow_1y8jke1</incoming> 
 +      <outgoing>Flow_1vnp4o1</outgoing> 
 +    </task> 
 +    <exclusiveGateway id="Gateway_0thivaj"> 
 +      <incoming>Flow_1vnp4o1</incoming> 
 +      <outgoing>Flow_1ehbyil</outgoing> 
 +      <outgoing>Flow_1gtdwsm</outgoing> 
 +    </exclusiveGateway> 
 +    <exclusiveGateway id="Gateway_09wgv00"> 
 +      <incoming>Flow_1ehbyil</incoming> 
 +      <incoming>Flow_07gass8</incoming> 
 +      <outgoing>Flow_1pssld8</outgoing> 
 +    </exclusiveGateway> 
 +    <task id="Activity_1xfsgpq" name="T4"> 
 +      <incoming>Flow_1pssld8</incoming> 
 +      <outgoing>Flow_1ctp4dm</outgoing> 
 +    </task> 
 +    <task id="Activity_03hgezk" name="T5"> 
 +      <incoming>Flow_0vxdrsx</incoming> 
 +      <outgoing>Flow_0vartie</outgoing> 
 +    </task> 
 +    <exclusiveGateway id="Gateway_1bs1364"> 
 +      <incoming>Flow_0vartie</incoming> 
 +      <outgoing>Flow_0zytbpn</outgoing> 
 +      <outgoing>Flow_0typaml</outgoing> 
 +    </exclusiveGateway> 
 +    <task id="Activity_0kvoegs" name="T7"> 
 +      <incoming>Flow_0e6yda7</incoming> 
 +      <outgoing>Flow_06g6jxh</outgoing> 
 +    </task> 
 +    <endEvent id="Event_1h3t7x3" name="E2"> 
 +      <incoming>Flow_06g6jxh</incoming> 
 +      <terminateEventDefinition id="TerminateEventDefinition_0xuc1qp" /> 
 +    </endEvent> 
 +    <task id="Activity_03taosi" name="T6"> 
 +      <incoming>Flow_1b8heic</incoming> 
 +      <outgoing>Flow_0yfakng</outgoing> 
 +    </task> 
 +    <endEvent id="Event_1fsyhqv" name="E1"> 
 +      <incoming>Flow_0yfakng</incoming> 
 +    </endEvent> 
 +    <parallelGateway id="Gateway_1l9j0rz"> 
 +      <incoming>Flow_1ctp4dm</incoming> 
 +      <incoming>Flow_0typaml</incoming> 
 +      <outgoing>Flow_1b8heic</outgoing> 
 +    </parallelGateway> 
 +    <exclusiveGateway id="Gateway_1keeo65"> 
 +      <incoming>Flow_0zytbpn</incoming> 
 +      <incoming>Flow_1gtdwsm</incoming> 
 +      <outgoing>Flow_0e6yda7</outgoing> 
 +    </exclusiveGateway> 
 +    <sequenceFlow id="Flow_0vartie" sourceRef="Activity_03hgezk" targetRef="Gateway_1bs1364" /> 
 +    <sequenceFlow id="Flow_0typaml" sourceRef="Gateway_1bs1364" targetRef="Gateway_1l9j0rz" /> 
 +    <sequenceFlow id="Flow_0zytbpn" sourceRef="Gateway_1bs1364" targetRef="Gateway_1keeo65" /> 
 +    <sequenceFlow id="Flow_0e6yda7" sourceRef="Gateway_1keeo65" targetRef="Activity_0kvoegs" /> 
 +    <sequenceFlow id="Flow_06g6jxh" sourceRef="Activity_0kvoegs" targetRef="Event_1h3t7x3" /> 
 +    <sequenceFlow id="Flow_1b8heic" sourceRef="Gateway_1l9j0rz" targetRef="Activity_03taosi" /> 
 +    <sequenceFlow id="Flow_0yfakng" sourceRef="Activity_03taosi" targetRef="Event_1fsyhqv" /> 
 +  </process> 
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1btdq44"> 
 +      <bpmndi:BPMNShape id="Participant_17sw5vi_di" bpmnElement="Participant_17sw5vi" isHorizontal="true"> 
 +        <omgdc:Bounds x="250" y="-410" width="1110" height="720" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_04hpp5l_di" bpmnElement="Lane_04hpp5l" isHorizontal="true"> 
 +        <omgdc:Bounds x="280" y="-50" width="1080" height="140" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_1c5yp1f_di" bpmnElement="Lane_1c5yp1f" isHorizontal="true"> 
 +        <omgdc:Bounds x="280" y="-410" width="1080" height="360" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_0vtsaxp_di" bpmnElement="Lane_0vtsaxp" isHorizontal="true"> 
 +        <omgdc:Bounds x="280" y="90" width="1080" height="220" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1buu9u4_di" bpmnElement="Event_1buu9u4"> 
 +        <omgdc:Bounds x="312" y="-248" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="323" y="-205" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1j61s03_di" bpmnElement="Activity_1j61s03"> 
 +        <omgdc:Bounds x="390" y="-270" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_16kl0yc_di" bpmnElement="Gateway_1ceaa8l"> 
 +        <omgdc:Bounds x="535" y="-255" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1tyqsqd_di" bpmnElement="Gateway_1tyqsqd" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="625" y="-255" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0y9vtiq_di" bpmnElement="Activity_0y9vtiq"> 
 +        <omgdc:Bounds x="600" y="-160" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_0j7qjab_di" bpmnElement="Gateway_0j7qjab" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="735" y="-255" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0cyasjk_di" bpmnElement="Activity_0cyasjk"> 
 +        <omgdc:Bounds x="600" y="-380" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_0thivaj_di" bpmnElement="Gateway_0thivaj" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="825" y="-365" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_09wgv00_di" bpmnElement="Gateway_09wgv00" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="825" y="-255" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1xfsgpq_di" bpmnElement="Activity_1xfsgpq"> 
 +        <omgdc:Bounds x="800" y="-20" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_03hgezk_di" bpmnElement="Activity_03hgezk"> 
 +        <omgdc:Bounds x="600" y="120" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1bs1364_di" bpmnElement="Gateway_1bs1364" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="735" y="135" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0kvoegs_di" bpmnElement="Activity_0kvoegs"> 
 +        <omgdc:Bounds x="1170" y="200" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_02zylt6_di" bpmnElement="Event_1h3t7x3"> 
 +        <omgdc:Bounds x="1302" y="222" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="1314" y="265" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_03taosi_di" bpmnElement="Activity_03taosi"> 
 +        <omgdc:Bounds x="910" y="120" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1fsyhqv_di" bpmnElement="Event_1fsyhqv"> 
 +        <omgdc:Bounds x="1042" y="142" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="1054" y="185" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_12p89c8_di" bpmnElement="Gateway_1l9j0rz"> 
 +        <omgdc:Bounds x="825" y="135" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1keeo65_di" bpmnElement="Gateway_1keeo65" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="1085" y="215" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNEdge id="Flow_0vxdrsx_di" bpmnElement="Flow_0vxdrsx"> 
 +        <omgdi:waypoint x="560" y="-205" /> 
 +        <omgdi:waypoint x="560" y="160" /> 
 +        <omgdi:waypoint x="600" y="160" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1gtdwsm_di" bpmnElement="Flow_1gtdwsm"> 
 +        <omgdi:waypoint x="875" y="-340" /> 
 +        <omgdi:waypoint x="1110" y="-340" /> 
 +        <omgdi:waypoint x="1110" y="215" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1pssld8_di" bpmnElement="Flow_1pssld8"> 
 +        <omgdi:waypoint x="850" y="-205" /> 
 +        <omgdi:waypoint x="850" y="-20" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_05t3f7e_di" bpmnElement="Flow_05t3f7e"> 
 +        <omgdi:waypoint x="348" y="-230" /> 
 +        <omgdi:waypoint x="390" y="-230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0sbyowp_di" bpmnElement="Flow_0sbyowp"> 
 +        <omgdi:waypoint x="490" y="-230" /> 
 +        <omgdi:waypoint x="535" y="-230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_19w4cml_di" bpmnElement="Flow_19w4cml"> 
 +        <omgdi:waypoint x="585" y="-230" /> 
 +        <omgdi:waypoint x="625" y="-230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1a0lia5_di" bpmnElement="Flow_1a0lia5"> 
 +        <omgdi:waypoint x="650" y="-205" /> 
 +        <omgdi:waypoint x="650" y="-160" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1y8jke1_di" bpmnElement="Flow_1y8jke1"> 
 +        <omgdi:waypoint x="650" y="-255" /> 
 +        <omgdi:waypoint x="650" y="-300" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1ufny1o_di" bpmnElement="Flow_1ufny1o"> 
 +        <omgdi:waypoint x="675" y="-230" /> 
 +        <omgdi:waypoint x="735" y="-230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1t49bww_di" bpmnElement="Flow_1t49bww"> 
 +        <omgdi:waypoint x="700" y="-120" /> 
 +        <omgdi:waypoint x="760" y="-120" /> 
 +        <omgdi:waypoint x="760" y="-205" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1vnp4o1_di" bpmnElement="Flow_1vnp4o1"> 
 +        <omgdi:waypoint x="700" y="-340" /> 
 +        <omgdi:waypoint x="825" y="-340" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_07gass8_di" bpmnElement="Flow_07gass8"> 
 +        <omgdi:waypoint x="785" y="-230" /> 
 +        <omgdi:waypoint x="825" y="-230" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1ehbyil_di" bpmnElement="Flow_1ehbyil"> 
 +        <omgdi:waypoint x="850" y="-315" /> 
 +        <omgdi:waypoint x="850" y="-255" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1ctp4dm_di" bpmnElement="Flow_1ctp4dm"> 
 +        <omgdi:waypoint x="850" y="60" /> 
 +        <omgdi:waypoint x="850" y="135" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0vartie_di" bpmnElement="Flow_0vartie"> 
 +        <omgdi:waypoint x="700" y="160" /> 
 +        <omgdi:waypoint x="735" y="160" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0typaml_di" bpmnElement="Flow_0typaml"> 
 +        <omgdi:waypoint x="785" y="160" /> 
 +        <omgdi:waypoint x="825" y="160" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0zytbpn_di" bpmnElement="Flow_0zytbpn"> 
 +        <omgdi:waypoint x="760" y="185" /> 
 +        <omgdi:waypoint x="760" y="240" /> 
 +        <omgdi:waypoint x="1085" y="240" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0e6yda7_di" bpmnElement="Flow_0e6yda7"> 
 +        <omgdi:waypoint x="1135" y="240" /> 
 +        <omgdi:waypoint x="1170" y="240" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_06g6jxh_di" bpmnElement="Flow_06g6jxh"> 
 +        <omgdi:waypoint x="1270" y="240" /> 
 +        <omgdi:waypoint x="1302" y="240" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1b8heic_di" bpmnElement="Flow_1b8heic"> 
 +        <omgdi:waypoint x="875" y="160" /> 
 +        <omgdi:waypoint x="910" y="160" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0yfakng_di" bpmnElement="Flow_0yfakng"> 
 +        <omgdi:waypoint x="1010" y="160" /> 
 +        <omgdi:waypoint x="1042" y="160" /> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio>
  
 ===== ✘ Как НЕ надо ===== ===== ✘ Как НЕ надо =====
Строка 14: Строка 325:
 <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_1btdq44"> 
-    xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" +    <participant id="Participant_17sw5vi" name="P1" processRef="Process_1r5h2r7" /> 
-    xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" +  </collaboration> 
-    xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" +  <process id="Process_1r5h2r7"
-    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +    <laneSet id="LaneSet_1ecton7"> 
-    id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" +      <lane id="Lane_1c5yp1f" name="L1"> 
-    targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> +        <flowNodeRef>Event_1buu9u4</flowNodeRef
-    <collaboration id="Collaboration_1oh70al"> +        <flowNodeRef>Activity_1j61s03</flowNodeRef
-        <participant id="Participant_1r8g02m" name="Добавить диаграмму BPMN" processRef="Process_1" /> +        <flowNodeRef>Gateway_1tyqsqd</flowNodeRef> 
-    </collaboration> +        <flowNodeRef>Activity_0y9vtiq</flowNodeRef> 
-    <process id="Process_1isExecutable="false"> +        <flowNodeRef>Gateway_0thivaj</flowNodeRef> 
-        <startEvent id="StartEvent_1" name="Start"> +        <flowNodeRef>Activity_0cyasjk</flowNodeRef> 
-        <outgoing>SequenceFlow_1</outgoing+      </lane> 
-        </startEvent+      <lane id="Lane_0jwbuix" name="L2"> 
-        <task id="Task_1" name="Do Something"> +        <flowNodeRef>Activity_03hgezk</flowNodeRef
-        <incoming>SequenceFlow_1</incoming+        <flowNodeRef>Gateway_1bs1364</flowNodeRef
-        <incoming>SequenceFlow_121ul2c</incoming+        <flowNodeRef>Activity_0kvoegs</flowNodeRef
-        <incoming>SequenceFlow_0nuwads</incoming+        <flowNodeRef>Event_1h3t7x3</flowNodeRef
-        <outgoing>SequenceFlow_2</outgoing+        <flowNodeRef>Activity_03taosi</flowNodeRef
-        </task+        <flowNodeRef>Event_1fsyhqv</flowNodeRef> 
-        <exclusiveGateway id="ExclusiveGateway_1" name="Result OKgatewayDirection="Diverging"> +      </lane> 
-        <incoming>SequenceFlow_2</incoming> +      <lane id="Lane_1pznh2m" name="L3"
-        <outgoing>SequenceFlow_0snv4kp</outgoing> +        <flowNodeRef>Activity_1xfsgpq</flowNodeRef> 
-        <outgoing>SequenceFlow_0nuwads</outgoing> +        <flowNodeRef>Gateway_1l9j0rz</flowNodeRef> 
-        </exclusiveGateway> +      </lane> 
-        <task id="Task_17knw8l" name="Monitor"> +    </laneSet> 
-        <outgoing>SequenceFlow_121ul2c</outgoing> +    <sequenceFlow id="Flow_0vxdrsxsourceRef="Activity_1j61s03" targetRef="Activity_03hgezk" /
-        </task> +    <sequenceFlow id="Flow_0qoj10j" sourceRef="Gateway_1tyqsqd" targetRef="Activity_1xfsgpq" /> 
-        <endEvent id="EndEvent_0oj7l6x" name="End"> +    <sequenceFlow id="Flow_1t49bww" sourceRef="Activity_0y9vtiq" targetRef="Activity_1xfsgpq" /> 
-        <incoming>SequenceFlow_0snv4kp</incoming> +    <sequenceFlow id="Flow_1ehbyil" sourceRef="Gateway_0thivaj" targetRef="Activity_1xfsgpq" /> 
-        </endEvent> +    <sequenceFlow id="Flow_1gtdwsm" sourceRef="Gateway_0thivaj" targetRef="Activity_0kvoegs" /> 
-        <sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" /> +    <sequenceFlow id="Flow_0typaml" sourceRef="Gateway_1bs1364" targetRef="Gateway_1l9j0rz" /> 
-        <sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" /> +    <sequenceFlow id="Flow_1b8heic" sourceRef="Gateway_1l9j0rz" targetRef="Activity_03taosi" /> 
-        <sequenceFlow id="SequenceFlow_0nuwadsname="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" /> +    <task id="Activity_03hgezk" name="T5"> 
-        <sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="ExclusiveGateway_1" /> +      <incoming>Flow_0vxdrsx</incoming> 
-        <sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" /> +      <outgoing>Flow_0vartie</outgoing> 
-    </process> +    </task> 
-        <bpmndi:BPMNDiagram id="BpmnDiagram_1"> +    <exclusiveGateway id="Gateway_1bs1364"> 
-        <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al"> +      <incoming>Flow_0vartie</incoming> 
-        <bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m"> +      <outgoing>Flow_0zytbpn</outgoing> 
-            <omgdc:Bounds x="104" y="78" width="668" height="297" /> +      <outgoing>Flow_0typaml</outgoing> 
-        </bpmndi:BPMNShape> +    </exclusiveGateway> 
-        <bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1"> +    <task id="Activity_0kvoegs" name="T7"> 
-            <omgdc:Bounds x="242" y="187" width="30" height="30" /> +      <incoming>Flow_0zytbpn</incoming> 
-            <bpmndi:BPMNLabel> +      <incoming>Flow_1gtdwsm</incoming> 
-            <omgdc:Bounds x="212" y="219" width="90" height="22" /> +      <outgoing>Flow_06g6jxh</outgoing> 
-            </bpmndi:BPMNLabel> +    </task> 
-        </bpmndi:BPMNShape> +    <sequenceFlow id="Flow_0vartie" sourceRef="Activity_03hgezk" targetRef="Gateway_1bs1364" /> 
-        <bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1"> +    <sequenceFlow id="Flow_0zytbpn" sourceRef="Gateway_1bs1364" targetRef="Activity_0kvoegs" /> 
-            <omgdc:Bounds x="340" y="162" width="100" height="80" /> +    <sequenceFlow id="Flow_06g6jxh" sourceRef="Activity_0kvoegs" targetRef="Event_1h3t7x3" /> 
-            <bpmndi:BPMNLabel> +    <endEvent id="Event_1h3t7x3" name="E2"> 
-            <omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" /> +      <incoming>Flow_06g6jxh</incoming> 
-            </bpmndi:BPMNLabel> +      <terminateEventDefinition id="TerminateEventDefinition_0xuc1qp" /> 
-        </bpmndi:BPMNShape> +    </endEvent> 
-        <bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true"> +    <startEvent id="Event_1buu9u4" name="S1"> 
-            <omgdc:Bounds x="508" y="182" width="40" height="40" /> +      <outgoing>Flow_05t3f7e</outgoing> 
-            <bpmndi:BPMNLabel+    </startEvent> 
-            <omgdc:Bounds x="483" y="234" width="90" height="24" /> +    <task id="Activity_1j61s03" name="T1"> 
-            </bpmndi:BPMNLabel> +      <incoming>Flow_05t3f7e</incoming> 
-        </bpmndi:BPMNShape> +      <outgoing>Flow_0sbyowp</outgoing> 
-        <bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l"> +      <outgoing>Flow_0vxdrsx</outgoing> 
-            <omgdc:Bounds x="340" y="275" width="100" height="80" /> +    </task> 
-        </bpmndi:BPMNShape> +    <exclusiveGateway id="Gateway_1tyqsqd"> 
-        <bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x"> +      <incoming>Flow_0sbyowp</incoming> 
-            <omgdc:Bounds x="648" y="184" width="36" height="36" /> +      <outgoing>Flow_1a0lia5</outgoing> 
-            <bpmndi:BPMNLabel> +      <outgoing>Flow_1y8jke1</outgoing> 
-            <omgdc:Bounds x="621" y="220" width="90" height="20" /> +      <outgoing>Flow_0qoj10j</outgoing> 
-            </bpmndi:BPMNLabel> +    </exclusiveGateway> 
-        </bpmndi:BPMNShape> +    <task id="Activity_0y9vtiq" name="T3"> 
-        <bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1"> +      <incoming>Flow_1a0lia5</incoming> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="272" y="202" /> +      <outgoing>Flow_1t49bww</outgoing> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="340" y="202" /> +    </task> 
-            <bpmndi:BPMNLabel+    <sequenceFlow id="Flow_05t3f7e" sourceRef="Event_1buu9u4" targetRef="Activity_1j61s03" /> 
-            <omgdc:Bounds x="225" y="140" width="90" height="20" /> +    <sequenceFlow id="Flow_0sbyowp" sourceRef="Activity_1j61s03" targetRef="Gateway_1tyqsqd" /> 
-            </bpmndi:BPMNLabel> +    <sequenceFlow id="Flow_1a0lia5sourceRef="Gateway_1tyqsqd" targetRef="Activity_0y9vtiq" /> 
-        </bpmndi:BPMNEdge+    <sequenceFlow id="Flow_1y8jke1" sourceRef="Gateway_1tyqsqd" targetRef="Activity_0cyasjk" /> 
-        <bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c"> +    <task id="Activity_03taosi" name="T6"> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="275" /> +      <incoming>Flow_1b8heic</incoming> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="242" /> +      <outgoing>Flow_0yfakng</outgoing> 
-            <bpmndi:BPMNLabel+    </task> 
-            <omgdc:Bounds x="358" y="273width="90height="20" /> +    <endEvent id="Event_1fsyhqv" name="E1"> 
-            </bpmndi:BPMNLabel+      <incoming>Flow_0yfakng</incoming> 
-        </bpmndi:BPMNEdge> +    </endEvent> 
-        <bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads"> +    <sequenceFlow id="Flow_0yfakng" sourceRef="Activity_03taosi" targetRef="Event_1fsyhqv" /> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="528" y="182" /> +    <task id="Activity_1xfsgpq" name="T4"> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="528" y="110" /> +      <incoming>Flow_0qoj10j</incoming> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="110" /> +      <incoming>Flow_1t49bww</incoming> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="390" y="162" /> +      <incoming>Flow_1ehbyil</incoming> 
-            <bpmndi:BPMNLabel+      <outgoing>Flow_1ctp4dm</outgoing> 
-            <omgdc:Bounds x="495" y="140width="90height="20" /> +    </task> 
-            </bpmndi:BPMNLabel+    <parallelGateway id="Gateway_1l9j0rz"> 
-        </bpmndi:BPMNEdge> +      <incoming>Flow_1ctp4dm</incoming> 
-        <bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2"> +      <incoming>Flow_0typaml</incoming> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="440" y="202" /> +      <outgoing>Flow_1b8heic</outgoing> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="508" y="202" /> +    </parallelGateway> 
-            <bpmndi:BPMNLabel+    <sequenceFlow id="Flow_1ctp4dm" sourceRef="Activity_1xfsgpq" targetRef="Gateway_1l9j0rz" /> 
-            <omgdc:Bounds x="433" y="192width="90height="20" /> +    <exclusiveGateway id="Gateway_0thivaj"> 
-            </bpmndi:BPMNLabel+      <incoming>Flow_1vnp4o1</incoming> 
-        </bpmndi:BPMNEdge> +      <outgoing>Flow_1ehbyil</outgoing> 
-        <bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp"> +      <outgoing>Flow_1gtdwsm</outgoing> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="548" y="202" /> +    </exclusiveGateway> 
-            <omgdi:waypoint xsi:type="omgdc:Point" x="648" y="202" /> +    <sequenceFlow id="Flow_1vnp4o1" sourceRef="Activity_0cyasjk" targetRef="Gateway_0thivaj" /> 
-            <bpmndi:BPMNLabel+    <task id="Activity_0cyasjk" name="T2"> 
-            <omgdc:Bounds x="550" y="183width="90height="20" /> +      <incoming>Flow_1y8jke1</incoming> 
-            </bpmndi:BPMNLabel+      <outgoing>Flow_1vnp4o1</outgoing> 
-        </bpmndi:BPMNEdge> +    </task> 
-        </bpmndi:BPMNPlane> +  </process> 
-    </bpmndi:BPMNDiagram>+  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1btdq44"> 
 +      <bpmndi:BPMNShape id="Participant_17sw5vi_di" bpmnElement="Participant_17sw5vi" isHorizontal="true"> 
 +        <omgdc:Bounds x="260" y="-30" width="840" height="680" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_1pznh2m_di" bpmnElement="Lane_1pznh2m" isHorizontal="true"> 
 +        <omgdc:Bounds x="290" y="510" width="810" height="140" /> 
 +        <bpmndi:BPMNLabel /
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_0jwbuix_di" bpmnElement="Lane_0jwbuix" isHorizontal="true"> 
 +        <omgdc:Bounds x="290" y="260" width="810" height="250" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_1c5yp1f_di" bpmnElement="Lane_1c5yp1f" isHorizontal="true"> 
 +        <omgdc:Bounds x="290" y="-30" width="810" height="290" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_03hgezk_di" bpmnElement="Activity_03hgezk"
 +        <omgdc:Bounds x="640" y="290" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape
 +      <bpmndi:BPMNShape id="Gateway_1bs1364_di" bpmnElement="Gateway_1bs1364" isMarkerVisible="true"
 +        <omgdc:Bounds x="785" y="305" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0kvoegs_di" bpmnElement="Activity_0kvoegs"> 
 +        <omgdc:Bounds x="870" y="290" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_02zylt6_di" bpmnElement="Event_1h3t7x3"> 
 +        <omgdc:Bounds x="1002" y="312" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="1014" y="355" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1buu9u4_di" bpmnElement="Event_1buu9u4"
 +        <omgdc:Bounds x="312" y="132" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="323" y="175" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape
 +      <bpmndi:BPMNShape id="Activity_1j61s03_di" bpmnElement="Activity_1j61s03"
 +        <omgdc:Bounds x="390" y="110" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1tyqsqd_di" bpmnElement="Gateway_1tyqsqd" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="525" y="125" width="50" height="50" /> 
 +      </bpmndi:BPMNShape
 +      <bpmndi:BPMNShape id="Activity_0y9vtiq_di" bpmnElement="Activity_0y9vtiq"> 
 +        <omgdc:Bounds x="620" y="110" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_03taosi_di" bpmnElement="Activity_03taosi"> 
 +        <omgdc:Bounds x="910" y="400" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_1fsyhqv_di" bpmnElement="Event_1fsyhqv"> 
 +        <omgdc:Bounds x="1042" y="422" width="36" height="36" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="1054" y="465" width="14" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1xfsgpq_di" bpmnElement="Activity_1xfsgpq"> 
 +        <omgdc:Bounds x="650" y="540" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_12p89c8_di" bpmnElement="Gateway_1l9j0rz"> 
 +        <omgdc:Bounds x="785" y="555" width="50" height="50" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_0thivaj_di" bpmnElement="Gateway_0thivaj" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="735" y="15" width="50" height="50" /> 
 +      </bpmndi:BPMNShape
 +      <bpmndi:BPMNShape id="Activity_0cyasjk_di" bpmnElement="Activity_0cyasjk"> 
 +        <omgdc:Bounds x="610" y="0" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /
 +      </bpmndi:BPMNShape
 +      <bpmndi:BPMNEdge id="Flow_0vxdrsx_di" bpmnElement="Flow_0vxdrsx"> 
 +        <omgdi:waypoint x="490" y="180" /> 
 +        <omgdi:waypoint x="520" y="180" /> 
 +        <omgdi:waypoint x="520" y="330" /> 
 +        <omgdi:waypoint x="640" y="330" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0qoj10j_di" bpmnElement="Flow_0qoj10j"> 
 +        <omgdi:waypoint x="550" y="175" /> 
 +        <omgdi:waypoint x="550" y="600" /> 
 +        <omgdi:waypoint x="650" y="600" /> 
 +      </bpmndi:BPMNEdge
 +      <bpmndi:BPMNEdge id="Flow_1t49bww_di" bpmnElement="Flow_1t49bww"> 
 +        <omgdi:waypoint x="670" y="190/> 
 +        <omgdi:waypoint x="670y="220" /> 
 +        <omgdi:waypoint x="580" y="220" /
 +        <omgdi:waypoint x="580" y="580" /
 +        <omgdi:waypoint x="650" y="580" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1ehbyil_di" bpmnElement="Flow_1ehbyil"> 
 +        <omgdi:waypoint x="760" y="65" /> 
 +        <omgdi:waypoint x="760" y="240" /> 
 +        <omgdi:waypoint x="610" y="240" /> 
 +        <omgdi:waypoint x="610" y="560" /> 
 +        <omgdi:waypoint x="650" y="560" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1gtdwsm_di" bpmnElement="Flow_1gtdwsm"> 
 +        <omgdi:waypoint x="785" y="40" /> 
 +        <omgdi:waypoint x="830" y="40" /> 
 +        <omgdi:waypoint x="830" y="300" /> 
 +        <omgdi:waypoint x="870" y="300" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0typaml_di" bpmnElement="Flow_0typaml"> 
 +        <omgdi:waypoint x="810" y="355" /> 
 +        <omgdi:waypoint x="810" y="555" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1b8heic_di" bpmnElement="Flow_1b8heic"> 
 +        <omgdi:waypoint x="835" y="580" /> 
 +        <omgdi:waypoint x="870" y="580" /
 +        <omgdi:waypoint x="870" y="440/> 
 +        <omgdi:waypoint x="910y="440" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0vartie_di" bpmnElement="Flow_0vartie"
 +        <omgdi:waypoint x="740" y="330" /> 
 +        <omgdi:waypoint x="785" y="330" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0zytbpn_di" bpmnElement="Flow_0zytbpn"> 
 +        <omgdi:waypoint x="835" y="330" /> 
 +        <omgdi:waypoint x="870" y="330" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_06g6jxh_di" bpmnElement="Flow_06g6jxh"> 
 +        <omgdi:waypoint x="970" y="330" /> 
 +        <omgdi:waypoint x="1002" y="330" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_05t3f7e_di" bpmnElement="Flow_05t3f7e"> 
 +        <omgdi:waypoint x="348" y="150" /> 
 +        <omgdi:waypoint x="390" y="150" /> 
 +      </bpmndi:BPMNEdge
 +      <bpmndi:BPMNEdge id="Flow_0sbyowp_di" bpmnElement="Flow_0sbyowp"> 
 +        <omgdi:waypoint x="490" y="150/> 
 +        <omgdi:waypoint x="525y="150" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1a0lia5_di" bpmnElement="Flow_1a0lia5"
 +        <omgdi:waypoint x="575" y="150" /> 
 +        <omgdi:waypoint x="620" y="150" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1y8jke1_di" bpmnElement="Flow_1y8jke1"> 
 +        <omgdi:waypoint x="550y="125" /> 
 +        <omgdi:waypoint x="550" y="40" /> 
 +        <omgdi:waypoint x="610" y="40" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0yfakng_di" bpmnElement="Flow_0yfakng"> 
 +        <omgdi:waypoint x="1010" y="440" /> 
 +        <omgdi:waypoint x="1042" y="440" /> 
 +      </bpmndi:BPMNEdge
 +      <bpmndi:BPMNEdge id="Flow_1ctp4dm_di" bpmnElement="Flow_1ctp4dm"> 
 +        <omgdi:waypoint x="750" y="580/> 
 +        <omgdi:waypoint x="785y="580" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1vnp4o1_di" bpmnElement="Flow_1vnp4o1"
 +        <omgdi:waypoint x="710" y="40" /> 
 +        <omgdi:waypoint x="735" y="40" /> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram>
 </definitions> </definitions>
 </bpmnio> </bpmnio>
Строка 128: Строка 598:
 ===== Примечания ===== ===== Примечания =====
  
-Благодаря своей заметности развилки делают схему понятной с первого взгляда+Некоторые авторы рекомендуют использовать развилки только там, где без них нельзя обойтись. 
- +Аргументируется это тем, что уменьшение количества элементов на диаграмме делает ее более понятной
-Структурированные блоки. +Например, Брюс Сильвер в книге "BPMN - метод и стиль" рекомендует использовать неявное распараллеливание (экономится расходящаяся параллельная развилка
- +и схождение альтернативных маршрутов на действии (экономится сходящаяся развилка "или-или")
-Противоречит Методу и стилю Брюса Сильвера.+Другие авторы из этих же соображений рекомендуют использовать условные потоки управления (экономится расходящаяся развилка "или-или").
  
 +Такая рекомендация является спорной: считать развилки бесполезным балластом неверно -
 +они позволяют разбить диаграмму на [[structured_diagram|структурные блоки]], тем самым делая процессную логику явной, легко считываемой.
 ===== Исключения ===== ===== Исключения =====
  
-Циклы.+<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_0qa9llr"> 
 +    <participant id="Participant_0zoxzpt" processRef="Process_0a1x1rm" /> 
 +  </collaboration> 
 +  <process id="Process_0a1x1rm"> 
 +    <laneSet id="LaneSet_0oxuxy6"> 
 +      <lane id="Lane_0ydghza" name="Исполнитель"> 
 +        <flowNodeRef>Activity_1mas9cf</flowNodeRef> 
 +        <flowNodeRef>Event_0rrygmz</flowNodeRef> 
 +        <flowNodeRef>Activity_0u0drg9</flowNodeRef> 
 +      </lane> 
 +      <lane id="Lane_0hvsiwo" name="Руководитель"> 
 +        <flowNodeRef>Activity_0rgs3uj</flowNodeRef> 
 +        <flowNodeRef>Gateway_1r795qj</flowNodeRef> 
 +        <flowNodeRef>Event_05brdcz</flowNodeRef> 
 +      </lane> 
 +    </laneSet> 
 +    <task id="Activity_1mas9cf" name="Сделать"> 
 +      <incoming>Flow_1muai6c</incoming> 
 +      <outgoing>Flow_1a7m68a</outgoing> 
 +    </task> 
 +    <sequenceFlow id="Flow_1muai6c" sourceRef="Event_0rrygmz" targetRef="Activity_1mas9cf" /> 
 +    <startEvent id="Event_0rrygmz"> 
 +      <outgoing>Flow_1muai6c</outgoing> 
 +    </startEvent> 
 +    <sequenceFlow id="Flow_1a7m68a" sourceRef="Activity_1mas9cf" targetRef="Activity_0rgs3uj" /> 
 +    <task id="Activity_0rgs3uj" name="Принять"> 
 +      <incoming>Flow_1a7m68a</incoming> 
 +      <incoming>Flow_0w6ruw6</incoming> 
 +      <outgoing>Flow_02iidys</outgoing> 
 +    </task> 
 +    <exclusiveGateway id="Gateway_1r795qj" name="Принято?"> 
 +      <incoming>Flow_02iidys</incoming> 
 +      <outgoing>Flow_0s9fue9</outgoing> 
 +      <outgoing>Flow_15vub0z</outgoing> 
 +    </exclusiveGateway> 
 +    <task id="Activity_0u0drg9" name="Переделать"> 
 +      <incoming>Flow_15vub0z</incoming> 
 +      <outgoing>Flow_0w6ruw6</outgoing> 
 +    </task> 
 +    <sequenceFlow id="Flow_0w6ruw6" sourceRef="Activity_0u0drg9" targetRef="Activity_0rgs3uj" /> 
 +    <sequenceFlow id="Flow_02iidys" sourceRef="Activity_0rgs3uj" targetRef="Gateway_1r795qj" /> 
 +    <sequenceFlow id="Flow_0s9fue9" name="да" sourceRef="Gateway_1r795qj" targetRef="Event_05brdcz" /> 
 +    <sequenceFlow id="Flow_15vub0z" name="нет" sourceRef="Gateway_1r795qj" targetRef="Activity_0u0drg9" /> 
 +    <endEvent id="Event_05brdcz"> 
 +      <incoming>Flow_0s9fue9</incoming> 
 +    </endEvent> 
 +  </process> 
 +  <bpmndi:BPMNDiagram id="BpmnDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_0qa9llr"> 
 +      <bpmndi:BPMNShape id="Participant_0zoxzpt_di" bpmnElement="Participant_0zoxzpt" isHorizontal="true"> 
 +        <omgdc:Bounds x="240" y="40" width="610" height="280" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_0ydghza_di" bpmnElement="Lane_0ydghza" isHorizontal="true"> 
 +        <omgdc:Bounds x="270" y="40" width="580" height="140" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Lane_0hvsiwo_di" bpmnElement="Lane_0hvsiwo" isHorizontal="true"> 
 +        <omgdc:Bounds x="270" y="180" width="580" height="140" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_1mas9cf_di" bpmnElement="Activity_1mas9cf"> 
 +        <omgdc:Bounds x="400" y="70" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_0rrygmz_di" bpmnElement="Event_0rrygmz"> 
 +        <omgdc:Bounds x="322" y="92" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0rgs3uj_di" bpmnElement="Activity_0rgs3uj"> 
 +        <omgdc:Bounds x="540" y="210" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Gateway_1r795qj_di" bpmnElement="Gateway_1r795qj" isMarkerVisible="true"> 
 +        <omgdc:Bounds x="675" y="225" width="50" height="50" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="689" y="282" width="23" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Activity_0u0drg9_di" bpmnElement="Activity_0u0drg9"> 
 +        <omgdc:Bounds x="540" y="70" width="100" height="80" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Event_05brdcz_di" bpmnElement="Event_05brdcz"> 
 +        <omgdc:Bounds x="782" y="232" width="36" height="36" /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNEdge id="Flow_1muai6c_di" bpmnElement="Flow_1muai6c"> 
 +        <omgdi:waypoint x="358" y="110" /> 
 +        <omgdi:waypoint x="400" y="110" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_1a7m68a_di" bpmnElement="Flow_1a7m68a"> 
 +        <omgdi:waypoint x="450" y="150" /> 
 +        <omgdi:waypoint x="450" y="250" /> 
 +        <omgdi:waypoint x="540" y="250" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0w6ruw6_di" bpmnElement="Flow_0w6ruw6"> 
 +        <omgdi:waypoint x="590" y="150" /> 
 +        <omgdi:waypoint x="590" y="210" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_02iidys_di" bpmnElement="Flow_02iidys"> 
 +        <omgdi:waypoint x="640" y="250" /> 
 +        <omgdi:waypoint x="675" y="250" /> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_0s9fue9_di" bpmnElement="Flow_0s9fue9"> 
 +        <omgdi:waypoint x="725" y="250" /> 
 +        <omgdi:waypoint x="782" y="250" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="745" y="232" width="17" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNEdge> 
 +      <bpmndi:BPMNEdge id="Flow_15vub0z_di" bpmnElement="Flow_15vub0z"> 
 +        <omgdi:waypoint x="700" y="225" /> 
 +        <omgdi:waypoint x="700" y="110" /> 
 +        <omgdi:waypoint x="640" y="110" /> 
 +        <bpmndi:BPMNLabel> 
 +          <omgdc:Bounds x="709" y="165" width="13" height="14" /> 
 +        </bpmndi:BPMNLabel> 
 +      </bpmndi:BPMNEdge> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio>
  
 ===== Смотри также ===== ===== Смотри также =====
  
 +  * [[structured_diagram]]
   * [[explicit_parallel_split]]   * [[explicit_parallel_split]]
   * [[explicit_parallel_merge]]   * [[explicit_parallel_merge]]
Строка 145: Строка 740:
   * [[overlapped_flows]]   * [[overlapped_flows]]
   * [[alternative_paths]]   * [[alternative_paths]]
-  * [[structured_diagram]]+  * [[time_flows_left_to_right]] 
 ===== Автор(ы) ===== ===== Автор(ы) =====
  
  --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 20:38//  --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 20:38//