Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:align_tasks_with_process [2024-08-28 21:01] – [✘ Как НЕ надо] Anatoly Belaychuk | ru:rule:align_tasks_with_process [2024-08-28 21:53] (текущий) – [Примечания] Anatoly Belaychuk |
---|
====== 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_1vp7ry3"> |
| <participant id="Participant_1a9ls2p" name="Приемка товара от поставщика" processRef="Process_1" /> |
| </collaboration> |
| <process id="Process_1" isExecutable="false"> |
| <startEvent id="Event_0qb2p1v"> |
| <outgoing>Flow_0a9mt56</outgoing> |
| </startEvent> |
| <task id="Activity_1degtd2" name="Проверить товарную накладную"> |
| <incoming>Flow_0a9mt56</incoming> |
| <outgoing>Flow_0j3kcf2</outgoing> |
| </task> |
| <exclusiveGateway id="Gateway_10qfofe" name="Накладная в порядке?"> |
| <incoming>Flow_0j3kcf2</incoming> |
| <outgoing>Flow_0v8y0lz</outgoing> |
| <outgoing>Flow_0l9ta06</outgoing> |
| </exclusiveGateway> |
| <subProcess id="Activity_17mxt62"> |
| <incoming>Flow_0l9ta06</incoming> |
| <outgoing>Flow_0cbr7ew</outgoing> |
| <multiInstanceLoopCharacteristics /> |
| <task id="Activity_0k55wlf" name="Проверить целостность паллеты"> |
| <incoming>Flow_0lamrjz</incoming> |
| <outgoing>Flow_0zbysou</outgoing> |
| </task> |
| <exclusiveGateway id="Gateway_0ste6tm" name="Паллета в порядке?"> |
| <incoming>Flow_0zbysou</incoming> |
| <outgoing>Flow_0kaao6f</outgoing> |
| <outgoing>Flow_0efw9eu</outgoing> |
| </exclusiveGateway> |
| <task id="Activity_19pxqla" name="Accomodate into warehouse"> |
| <incoming>Flow_0kaao6f</incoming> |
| <outgoing>Flow_0ykhyoj</outgoing> |
| </task> |
| <task id="Activity_1b3wl5z" name="Оформить претензию"> |
| <incoming>Flow_0efw9eu</incoming> |
| <outgoing>Flow_0ijaw7o</outgoing> |
| </task> |
| <exclusiveGateway id="Gateway_0ldaatt"> |
| <incoming>Flow_0ykhyoj</incoming> |
| <incoming>Flow_0ijaw7o</incoming> |
| <outgoing>Flow_1sjbt67</outgoing> |
| </exclusiveGateway> |
| <endEvent id="Event_1uaoiim"> |
| <incoming>Flow_1sjbt67</incoming> |
| </endEvent> |
| <sequenceFlow id="Flow_0zbysou" sourceRef="Activity_0k55wlf" targetRef="Gateway_0ste6tm" /> |
| <sequenceFlow id="Flow_0kaao6f" name="да" sourceRef="Gateway_0ste6tm" targetRef="Activity_19pxqla" /> |
| <sequenceFlow id="Flow_0efw9eu" name="нет" sourceRef="Gateway_0ste6tm" targetRef="Activity_1b3wl5z" /> |
| <sequenceFlow id="Flow_0ykhyoj" sourceRef="Activity_19pxqla" targetRef="Gateway_0ldaatt" /> |
| <sequenceFlow id="Flow_0ijaw7o" sourceRef="Activity_1b3wl5z" targetRef="Gateway_0ldaatt" /> |
| <sequenceFlow id="Flow_1sjbt67" sourceRef="Gateway_0ldaatt" targetRef="Event_1uaoiim" /> |
| <startEvent id="Event_007hpru"> |
| <outgoing>Flow_0lamrjz</outgoing> |
| </startEvent> |
| <sequenceFlow id="Flow_0lamrjz" sourceRef="Event_007hpru" targetRef="Activity_0k55wlf" /> |
| </subProcess> |
| <sequenceFlow id="Flow_0a9mt56" sourceRef="Event_0qb2p1v" targetRef="Activity_1degtd2" /> |
| <sequenceFlow id="Flow_0j3kcf2" sourceRef="Activity_1degtd2" targetRef="Gateway_10qfofe" /> |
| <sequenceFlow id="Flow_0v8y0lz" name="нет" sourceRef="Gateway_10qfofe" targetRef="Event_18s0f3g" /> |
| <sequenceFlow id="Flow_0l9ta06" name="да" sourceRef="Gateway_10qfofe" targetRef="Activity_17mxt62" /> |
| <sequenceFlow id="Flow_0cbr7ew" sourceRef="Activity_17mxt62" targetRef="Event_0sx6y5j" /> |
| <endEvent id="Event_0sx6y5j" name="Товар принят"> |
| <incoming>Flow_0cbr7ew</incoming> |
| </endEvent> |
| <endEvent id="Event_18s0f3g" name="Отсутствуют документы"> |
| <incoming>Flow_0v8y0lz</incoming> |
| </endEvent> |
| <textAnnotation id="TextAnnotation_18pwym5"> |
| <text>по каждой паллете</text> |
| </textAnnotation> |
| <association id="Association_189wn4g" sourceRef="Activity_17mxt62" targetRef="TextAnnotation_18pwym5" /> |
| </process> |
| <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1vp7ry3"> |
| <bpmndi:BPMNShape id="Participant_1a9ls2p_di" bpmnElement="Participant_1a9ls2p" isHorizontal="true"> |
| <omgdc:Bounds x="200" y="-90" width="1070" height="300" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0qb2p1v_di" bpmnElement="Event_0qb2p1v"> |
| <omgdc:Bounds x="252" y="47" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1degtd2_di" bpmnElement="Activity_1degtd2"> |
| <omgdc:Bounds x="320" y="25" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_10qfofe_di" bpmnElement="Gateway_10qfofe" isMarkerVisible="true"> |
| <omgdc:Bounds x="455" y="40" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="440" y="10" width="81" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_18s0f3g_di" bpmnElement="Event_18s0f3g"> |
| <omgdc:Bounds x="462" y="132" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="435" y="175" width="90" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_17mxt62_di" bpmnElement="Activity_17mxt62" isExpanded="true"> |
| <omgdc:Bounds x="560" y="-65" width="590" height="250" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0k55wlf_di" bpmnElement="Activity_0k55wlf"> |
| <omgdc:Bounds x="650" y="-35" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0ste6tm_di" bpmnElement="Gateway_0ste6tm" isMarkerVisible="true"> |
| <omgdc:Bounds x="785" y="-20" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="783" y="-44" width="53" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_19pxqla_di" bpmnElement="Activity_19pxqla"> |
| <omgdc:Bounds x="880" y="-35" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1b3wl5z_di" bpmnElement="Activity_1b3wl5z"> |
| <omgdc:Bounds x="880" y="75" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0ldaatt_di" bpmnElement="Gateway_0ldaatt" isMarkerVisible="true"> |
| <omgdc:Bounds x="1015" y="-20" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1uaoiim_di" bpmnElement="Event_1uaoiim"> |
| <omgdc:Bounds x="1092" y="-13" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_007hpru_di" bpmnElement="Event_007hpru"> |
| <omgdc:Bounds x="582" y="-13" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_0zbysou_di" bpmnElement="Flow_0zbysou"> |
| <omgdi:waypoint x="750" y="5" /> |
| <omgdi:waypoint x="785" y="5" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0kaao6f_di" bpmnElement="Flow_0kaao6f"> |
| <omgdi:waypoint x="835" y="5" /> |
| <omgdi:waypoint x="880" y="5" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="849" y="-13" width="17" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0efw9eu_di" bpmnElement="Flow_0efw9eu"> |
| <omgdi:waypoint x="810" y="30" /> |
| <omgdi:waypoint x="810" y="115" /> |
| <omgdi:waypoint x="880" y="115" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="846" y="93" width="13" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ykhyoj_di" bpmnElement="Flow_0ykhyoj"> |
| <omgdi:waypoint x="980" y="5" /> |
| <omgdi:waypoint x="1015" y="5" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ijaw7o_di" bpmnElement="Flow_0ijaw7o"> |
| <omgdi:waypoint x="980" y="115" /> |
| <omgdi:waypoint x="1040" y="115" /> |
| <omgdi:waypoint x="1040" y="30" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1sjbt67_di" bpmnElement="Flow_1sjbt67"> |
| <omgdi:waypoint x="1065" y="5" /> |
| <omgdi:waypoint x="1092" y="5" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0lamrjz_di" bpmnElement="Flow_0lamrjz"> |
| <omgdi:waypoint x="618" y="5" /> |
| <omgdi:waypoint x="650" y="5" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNShape id="Event_0sx6y5j_di" bpmnElement="Event_0sx6y5j"> |
| <omgdc:Bounds x="1192" y="37" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="1170" y="80" width="81" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="TextAnnotation_18pwym5_di" bpmnElement="TextAnnotation_18pwym5"> |
| <omgdc:Bounds x="1176" y="115" width="68.1475903614458" height="48.0717512908778" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_0a9mt56_di" bpmnElement="Flow_0a9mt56"> |
| <omgdi:waypoint x="288" y="65" /> |
| <omgdi:waypoint x="320" y="65" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0j3kcf2_di" bpmnElement="Flow_0j3kcf2"> |
| <omgdi:waypoint x="420" y="65" /> |
| <omgdi:waypoint x="455" y="65" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0v8y0lz_di" bpmnElement="Flow_0v8y0lz"> |
| <omgdi:waypoint x="480" y="90" /> |
| <omgdi:waypoint x="480" y="132" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="489" y="107" width="13" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0l9ta06_di" bpmnElement="Flow_0l9ta06"> |
| <omgdi:waypoint x="505" y="65" /> |
| <omgdi:waypoint x="560" y="65" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="524" y="47" width="17" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0cbr7ew_di" bpmnElement="Flow_0cbr7ew"> |
| <omgdi:waypoint x="1150" y="55" /> |
| <omgdi:waypoint x="1192" y="55" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Association_189wn4g_di" bpmnElement="Association_189wn4g"> |
| <omgdi:waypoint x="1150" y="116" /> |
| <omgdi:waypoint x="1176" y="121" /> |
| </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"> |
| <collaboration id="Collaboration_1vp7ry3"> |
| <participant id="Participant_1a9ls2p" name="Приемка товара от поставщика" processRef="Process_1" /> |
| </collaboration> |
| <process id="Process_1" isExecutable="false"> |
| <startEvent id="Event_0qb2p1v"> |
| <outgoing>Flow_0a9mt56</outgoing> |
| </startEvent> |
| <task id="Activity_1degtd2" name="Проверить товарную накладную"> |
| <incoming>Flow_0a9mt56</incoming> |
| <outgoing>Flow_0j3kcf2</outgoing> |
| </task> |
| <sequenceFlow id="Flow_0a9mt56" sourceRef="Event_0qb2p1v" targetRef="Activity_1degtd2" /> |
| <exclusiveGateway id="Gateway_10qfofe" name="Накладная в порядке?"> |
| <incoming>Flow_0j3kcf2</incoming> |
| <outgoing>Flow_0v8y0lz</outgoing> |
| <outgoing>Flow_1pj9ozv</outgoing> |
| </exclusiveGateway> |
| <sequenceFlow id="Flow_0j3kcf2" sourceRef="Activity_1degtd2" targetRef="Gateway_10qfofe" /> |
| <sequenceFlow id="Flow_0v8y0lz" name="нет" sourceRef="Gateway_10qfofe" targetRef="Event_18s0f3g" /> |
| <task id="Activity_0k55wlf" name="Проверить целостность паллет"> |
| <incoming>Flow_1pj9ozv</incoming> |
| <outgoing>Flow_0zbysou</outgoing> |
| </task> |
| <sequenceFlow id="Flow_1pj9ozv" name="да" sourceRef="Gateway_10qfofe" targetRef="Activity_0k55wlf" /> |
| <sequenceFlow id="Flow_0zbysou" sourceRef="Activity_0k55wlf" targetRef="Gateway_0ste6tm" /> |
| <endEvent id="Event_18s0f3g" name="Отсутствуют документы"> |
| <incoming>Flow_0v8y0lz</incoming> |
| </endEvent> |
| <inclusiveGateway id="Gateway_0ste6tm"> |
| <incoming>Flow_0zbysou</incoming> |
| <outgoing>Flow_1gmcsmc</outgoing> |
| <outgoing>Flow_08fw337</outgoing> |
| </inclusiveGateway> |
| <sequenceFlow id="Flow_0ykhyoj" sourceRef="Activity_19pxqla" targetRef="Gateway_0ldaatt" /> |
| <sequenceFlow id="Flow_0ijaw7o" sourceRef="Activity_1b3wl5z" targetRef="Gateway_0ldaatt" /> |
| <sequenceFlow id="Flow_1sjbt67" sourceRef="Gateway_0ldaatt" targetRef="Event_1uaoiim" /> |
| <sequenceFlow id="Flow_1gmcsmc" name="есть целые паллеты" sourceRef="Gateway_0ste6tm" targetRef="Activity_19pxqla" /> |
| <sequenceFlow id="Flow_08fw337" name="есть поврежденные паллеты" sourceRef="Gateway_0ste6tm" targetRef="Activity_1b3wl5z" /> |
| <task id="Activity_1b3wl5z" name="Оформить претензию"> |
| <incoming>Flow_08fw337</incoming> |
| <outgoing>Flow_0ijaw7o</outgoing> |
| </task> |
| <task id="Activity_19pxqla" name="Accomodate into warehouse"> |
| <incoming>Flow_1gmcsmc</incoming> |
| <outgoing>Flow_0ykhyoj</outgoing> |
| </task> |
| <inclusiveGateway id="Gateway_0ldaatt"> |
| <incoming>Flow_0ykhyoj</incoming> |
| <incoming>Flow_0ijaw7o</incoming> |
| <outgoing>Flow_1sjbt67</outgoing> |
| </inclusiveGateway> |
| <endEvent id="Event_1uaoiim"> |
| <incoming>Flow_1sjbt67</incoming> |
| </endEvent> |
| </process> |
| <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1vp7ry3"> |
| <bpmndi:BPMNShape id="Participant_1a9ls2p_di" bpmnElement="Participant_1a9ls2p" isHorizontal="true"> |
| <omgdc:Bounds x="200" y="30" width="950" height="250" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0qb2p1v_di" bpmnElement="Event_0qb2p1v"> |
| <omgdc:Bounds x="272" y="82" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1degtd2_di" bpmnElement="Activity_1degtd2"> |
| <omgdc:Bounds x="340" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_10qfofe_di" bpmnElement="Gateway_10qfofe" isMarkerVisible="true"> |
| <omgdc:Bounds x="475" y="75" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="460" y="53" width="81" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0k55wlf_di" bpmnElement="Activity_0k55wlf"> |
| <omgdc:Bounds x="570" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_18s0f3g_di" bpmnElement="Event_18s0f3g"> |
| <omgdc:Bounds x="482" y="162" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="455" y="205" width="90" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_05slbzv_di" bpmnElement="Gateway_0ste6tm"> |
| <omgdc:Bounds x="705" y="75" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1b3wl5z_di" bpmnElement="Activity_1b3wl5z"> |
| <omgdc:Bounds x="850" y="170" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_19pxqla_di" bpmnElement="Activity_19pxqla"> |
| <omgdc:Bounds x="850" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0zdcd69_di" bpmnElement="Gateway_0ldaatt"> |
| <omgdc:Bounds x="995" y="75" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1uaoiim_di" bpmnElement="Event_1uaoiim"> |
| <omgdc:Bounds x="1082" y="82" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_0a9mt56_di" bpmnElement="Flow_0a9mt56"> |
| <omgdi:waypoint x="308" y="100" /> |
| <omgdi:waypoint x="340" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0j3kcf2_di" bpmnElement="Flow_0j3kcf2"> |
| <omgdi:waypoint x="440" y="100" /> |
| <omgdi:waypoint x="475" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0v8y0lz_di" bpmnElement="Flow_0v8y0lz"> |
| <omgdi:waypoint x="500" y="125" /> |
| <omgdi:waypoint x="500" y="162" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="509" y="139" width="13" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1pj9ozv_di" bpmnElement="Flow_1pj9ozv"> |
| <omgdi:waypoint x="525" y="100" /> |
| <omgdi:waypoint x="570" y="100" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="539" y="82" width="17" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0zbysou_di" bpmnElement="Flow_0zbysou"> |
| <omgdi:waypoint x="670" y="100" /> |
| <omgdi:waypoint x="705" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ykhyoj_di" bpmnElement="Flow_0ykhyoj"> |
| <omgdi:waypoint x="950" y="100" /> |
| <omgdi:waypoint x="995" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ijaw7o_di" bpmnElement="Flow_0ijaw7o"> |
| <omgdi:waypoint x="950" y="210" /> |
| <omgdi:waypoint x="1020" y="210" /> |
| <omgdi:waypoint x="1020" y="125" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1sjbt67_di" bpmnElement="Flow_1sjbt67"> |
| <omgdi:waypoint x="1045" y="100" /> |
| <omgdi:waypoint x="1082" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1gmcsmc_di" bpmnElement="Flow_1gmcsmc"> |
| <omgdi:waypoint x="755" y="100" /> |
| <omgdi:waypoint x="850" y="100" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="749" y="66" width="81" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_08fw337_di" bpmnElement="Flow_08fw337"> |
| <omgdi:waypoint x="730" y="125" /> |
| <omgdi:waypoint x="730" y="210" /> |
| <omgdi:waypoint x="850" y="210" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="749" y="176" width="81" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </definitions> |
| </bpmnio> |
| |
===== ✘ Как НЕ надо ===== | ===== ✘ Как НЕ надо ===== |
<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_1vp7ry3"> |
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | <participant id="Participant_1a9ls2p" name="Приемка товара от поставщика" processRef="Process_1" /> |
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" | </collaboration> |
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" | <process id="Process_1" isExecutable="false"> |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | <startEvent id="Event_0qb2p1v"> |
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" | <outgoing>Flow_0a9mt56</outgoing> |
targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1">Создать диаграмму BPMN <bpmn:process id="Process_1" isExecutable="false"> | </startEvent> |
<bpmn:startEvent id="StartEvent_1" /> | <task id="Activity_1degtd2" name="Проверить товарную накладную"> |
</bpmn:process> | <incoming>Flow_0a9mt56</incoming> |
| <outgoing>Flow_0j3kcf2</outgoing> |
| </task> |
| <sequenceFlow id="Flow_0a9mt56" sourceRef="Event_0qb2p1v" targetRef="Activity_1degtd2" /> |
| <exclusiveGateway id="Gateway_10qfofe" name="Накладная в порядке?"> |
| <incoming>Flow_0j3kcf2</incoming> |
| <outgoing>Flow_0v8y0lz</outgoing> |
| <outgoing>Flow_1pj9ozv</outgoing> |
| </exclusiveGateway> |
| <sequenceFlow id="Flow_0j3kcf2" sourceRef="Activity_1degtd2" targetRef="Gateway_10qfofe" /> |
| <sequenceFlow id="Flow_0v8y0lz" name="нет" sourceRef="Gateway_10qfofe" targetRef="Event_18s0f3g" /> |
| <task id="Activity_0k55wlf" name="Проверить целостность паллет"> |
| <incoming>Flow_1pj9ozv</incoming> |
| <outgoing>Flow_0zbysou</outgoing> |
| </task> |
| <sequenceFlow id="Flow_1pj9ozv" name="да" sourceRef="Gateway_10qfofe" targetRef="Activity_0k55wlf" /> |
| <sequenceFlow id="Flow_0zbysou" sourceRef="Activity_0k55wlf" targetRef="Gateway_0ste6tm" /> |
| <exclusiveGateway id="Gateway_0ste6tm" name="Паллета в порядке?"> |
| <incoming>Flow_0zbysou</incoming> |
| <outgoing>Flow_0kaao6f</outgoing> |
| <outgoing>Flow_0efw9eu</outgoing> |
| </exclusiveGateway> |
| <sequenceFlow id="Flow_0kaao6f" name="да" sourceRef="Gateway_0ste6tm" targetRef="Activity_19pxqla" /> |
| <sequenceFlow id="Flow_0efw9eu" name="нет" sourceRef="Gateway_0ste6tm" targetRef="Activity_1b3wl5z" /> |
| <task id="Activity_19pxqla" name="Accomodate into warehouse"> |
| <incoming>Flow_0kaao6f</incoming> |
| <outgoing>Flow_0ykhyoj</outgoing> |
| </task> |
| <task id="Activity_1b3wl5z" name="Оформить претензию"> |
| <incoming>Flow_0efw9eu</incoming> |
| <outgoing>Flow_0ijaw7o</outgoing> |
| </task> |
| <exclusiveGateway id="Gateway_0ldaatt"> |
| <incoming>Flow_0ykhyoj</incoming> |
| <incoming>Flow_0ijaw7o</incoming> |
| <outgoing>Flow_1sjbt67</outgoing> |
| </exclusiveGateway> |
| <sequenceFlow id="Flow_0ykhyoj" sourceRef="Activity_19pxqla" targetRef="Gateway_0ldaatt" /> |
| <sequenceFlow id="Flow_0ijaw7o" sourceRef="Activity_1b3wl5z" targetRef="Gateway_0ldaatt" /> |
| <endEvent id="Event_1uaoiim"> |
| <incoming>Flow_1sjbt67</incoming> |
| </endEvent> |
| <sequenceFlow id="Flow_1sjbt67" sourceRef="Gateway_0ldaatt" targetRef="Event_1uaoiim" /> |
| <endEvent id="Event_18s0f3g" name="Отсутствуют документы"> |
| <incoming>Flow_0v8y0lz</incoming> |
| </endEvent> |
| </process> |
<bpmndi:BPMNDiagram id="BPMNDiagram_1"> | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"> | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1vp7ry3"> |
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> | <bpmndi:BPMNShape id="Participant_1a9ls2p_di" bpmnElement="Participant_1a9ls2p" isHorizontal="true"> |
<dc:Bounds x="156" y="82" width="36" height="36" /> | <omgdc:Bounds x="200" y="20" width="910" height="270" /> |
| <bpmndi:BPMNLabel /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0qb2p1v_di" bpmnElement="Event_0qb2p1v"> |
| <omgdc:Bounds x="272" y="82" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1degtd2_di" bpmnElement="Activity_1degtd2"> |
| <omgdc:Bounds x="340" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_10qfofe_di" bpmnElement="Gateway_10qfofe" isMarkerVisible="true"> |
| <omgdc:Bounds x="475" y="75" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="460" y="45" width="81" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0k55wlf_di" bpmnElement="Activity_0k55wlf"> |
| <omgdc:Bounds x="570" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0ste6tm_di" bpmnElement="Gateway_0ste6tm" isMarkerVisible="true"> |
| <omgdc:Bounds x="705" y="75" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="703" y="51" width="53" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_19pxqla_di" bpmnElement="Activity_19pxqla"> |
| <omgdc:Bounds x="810" y="60" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1b3wl5z_di" bpmnElement="Activity_1b3wl5z"> |
| <omgdc:Bounds x="810" y="170" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0ldaatt_di" bpmnElement="Gateway_0ldaatt" isMarkerVisible="true"> |
| <omgdc:Bounds x="955" y="75" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1uaoiim_di" bpmnElement="Event_1uaoiim"> |
| <omgdc:Bounds x="1042" y="82" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_18s0f3g_di" bpmnElement="Event_18s0f3g"> |
| <omgdc:Bounds x="482" y="162" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="455" y="205" width="90" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_0a9mt56_di" bpmnElement="Flow_0a9mt56"> |
| <omgdi:waypoint x="308" y="100" /> |
| <omgdi:waypoint x="340" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0j3kcf2_di" bpmnElement="Flow_0j3kcf2"> |
| <omgdi:waypoint x="440" y="100" /> |
| <omgdi:waypoint x="475" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0v8y0lz_di" bpmnElement="Flow_0v8y0lz"> |
| <omgdi:waypoint x="500" y="125" /> |
| <omgdi:waypoint x="500" y="162" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="509" y="139" width="13" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1pj9ozv_di" bpmnElement="Flow_1pj9ozv"> |
| <omgdi:waypoint x="525" y="100" /> |
| <omgdi:waypoint x="570" y="100" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="539" y="82" width="17" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0zbysou_di" bpmnElement="Flow_0zbysou"> |
| <omgdi:waypoint x="670" y="100" /> |
| <omgdi:waypoint x="705" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0kaao6f_di" bpmnElement="Flow_0kaao6f"> |
| <omgdi:waypoint x="755" y="100" /> |
| <omgdi:waypoint x="810" y="100" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="774" y="82" width="17" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0efw9eu_di" bpmnElement="Flow_0efw9eu"> |
| <omgdi:waypoint x="730" y="125" /> |
| <omgdi:waypoint x="730" y="210" /> |
| <omgdi:waypoint x="810" y="210" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="772" y="188" width="13" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ykhyoj_di" bpmnElement="Flow_0ykhyoj"> |
| <omgdi:waypoint x="910" y="100" /> |
| <omgdi:waypoint x="955" y="100" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0ijaw7o_di" bpmnElement="Flow_0ijaw7o"> |
| <omgdi:waypoint x="910" y="210" /> |
| <omgdi:waypoint x="980" y="210" /> |
| <omgdi:waypoint x="980" y="125" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1sjbt67_di" bpmnElement="Flow_1sjbt67"> |
| <omgdi:waypoint x="1005" y="100" /> |
| <omgdi:waypoint x="1042" y="100" /> |
| </bpmndi:BPMNEdge> |
</bpmndi:BPMNPlane> | </bpmndi:BPMNPlane> |
</bpmndi:BPMNDiagram> | </bpmndi:BPMNDiagram> |
===== Примечания ===== | ===== Примечания ===== |
| |
Тут дополнительные комментарии (этот раздел опционален) | Диаграммы BPMN следует трактовать буквально: как нарисовали, так и работаем. |
| Поэтому если на диаграмме [[#как не надо]] изображена задача "Проверить целостность паллет", за которой следует развилка "Паллета цела?", |
===== Исключения ===== | то это значит, что на развилке проверяется состояние лишь одной паллеты. |
| Следует показать на диаграмме либо обработку каждой паллеты по отдельности в цикле по объектам ([[#как надо]], вверху), либо продолжать работать с множеством паллет ([[#как надо]], внизу). |
Исключения из указанного выше правила (если есть) | |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[collapsed_subprocess]] |
| |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-23 21:21// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-23 21:21// |