Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:alternative_scenarios [2023-09-06 15:27] – [✘ Как НЕ надо] Георгий Ржавин | ru:rule:alternative_scenarios [2024-03-24 18:31] (текущий) – [Для каждого сценария используйте свое завершающее событие] Anatoly Belaychuk |
---|
====== Альтернативные сценарии ====== | ====== Для каждого сценария используйте свое завершающее событие ====== |
| |
{{tag>tag1 tag2}} | {{tag>конечное_событие}} |
| |
Оставляйте альтернативные сценарии независимыми друг от друга | Оставляйте альтернативные сценарии независимыми друг от друга |
===== ✔ Как надо ===== | ===== ✔ Как надо ===== |
| |
<diagram><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="321px" height="61px" viewBox="-0.5 -0.5 321 61" content="<mxfile host="embed.diagrams.net" modified="2023-09-06T12:18:22.601Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36" version="21.7.2" etag="XZq139ioqEm_aqezC60a" type="embed"><diagram id="MCnhQJ6lWQiPRxuHm8Fg" name="Страница — 1">xZRNU4MwEIZ/DXe+7Me1tepBTz14zpCVxAksky4F/PUGWAoMrePojF6W5Mmbj33ZxIv2Wf1oRaFeUILxQl/WXnTvhWGwirfu05KGiR8ySa2WzEZw1B8wCJmWWsJpJiREQ7qYwwTzHBKaMWEtVnPZG5r5roVIYQGOiTBL+qolqZ5uwvXIn0Cnatg5WHF+mRjEnMlJCYnVBEUHL9pbROpbWb0H07o3+NLPe7gxejmYhZy+MyHuJ5yFKTk3Phc1Q7IgXe7cRUsKU8yFOYx0Z7HMJbQr+q43ap4RCwcDB9+BqOEfKUpChxRlhkf7PduNbqbB6ISlTVjFRyVhU2BVdLHQFR9gBmQbJ7FgBOnzfHXBRZBedKNPrsFWXbctXNrmct/GbdzddXHXRb+L7u+7RuBt/AlcL5ye+1gpTXAsRJdu5W7SNc/OYAnqr11b+sET1lyEwzWMuV+NNR0Mhaom9bzyf+9g9BMHXaMXhDz03w7+pYWuO74L3djkeY0Onw==</diagram></mxfile>"><defs/><g><path d="M 120 30 L 193.63 30" fill="none" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 198.88 30 L 191.88 33.5 L 193.63 30 L 191.88 26.5 Z" fill="rgb(0, 0, 0)" stroke="rgb(0, 0, 0)" stroke-miterlimit="10" pointer-events="all"/><rect x="0" y="0" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 30px; margin-left: 1px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Делай раз</div></div></div></foreignObject><text x="60" y="34" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Делай раз</text></switch></g><rect x="200" y="0" width="120" height="60" fill="rgb(255, 255, 255)" stroke="rgb(0, 0, 0)" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 118px; height: 1px; padding-top: 30px; margin-left: 201px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center;"><div style="display: inline-block; font-size: 12px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;">Делай два</div></div></div></foreignObject><text x="260" y="34" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="12px" text-anchor="middle">Делай два</text></switch></g></g></svg></diagram> | <bpmnio type="bpmn"> |
| <?xml version="1.0" encoding="UTF-8"?> |
| <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_00nndkx" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.14.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.19.0"> |
| <bpmn:collaboration id="Collaboration_1v9xv45"> |
| <bpmn:participant id="Participant_12s6bdh" processRef="Process_1no7ri4" /> |
| </bpmn:collaboration> |
| <bpmn:process id="Process_1no7ri4" isExecutable="true" camunda:historyTimeToLive="180"> |
| <bpmn:laneSet id="LaneSet_1nfb2q4"> |
| <bpmn:lane id="Lane_05e4va0" name="Инициатор"> |
| <bpmn:flowNodeRef>Event_0l63nlg</bpmn:flowNodeRef> |
| <bpmn:flowNodeRef>Activity_0pgopr9</bpmn:flowNodeRef> |
| <bpmn:flowNodeRef>Activity_0wxqowq</bpmn:flowNodeRef> |
| <bpmn:flowNodeRef>Event_0veb2fr</bpmn:flowNodeRef> |
| </bpmn:lane> |
| <bpmn:lane id="Lane_1g67lak" name="Руководитель инициатора"> |
| <bpmn:flowNodeRef>Activity_13zfvav</bpmn:flowNodeRef> |
| <bpmn:flowNodeRef>Gateway_0k9cp1j</bpmn:flowNodeRef> |
| </bpmn:lane> |
| <bpmn:lane id="Lane_1h7ar49" name="HR"> |
| <bpmn:flowNodeRef>Activity_102h0mw</bpmn:flowNodeRef> |
| <bpmn:flowNodeRef>Event_1dcobs0</bpmn:flowNodeRef> |
| </bpmn:lane> |
| </bpmn:laneSet> |
| <bpmn:startEvent id="Event_0l63nlg"> |
| <bpmn:outgoing>Flow_12tjwvh</bpmn:outgoing> |
| </bpmn:startEvent> |
| <bpmn:task id="Activity_13zfvav" name="Согласовать командировку"> |
| <bpmn:incoming>Flow_114qi61</bpmn:incoming> |
| <bpmn:outgoing>Flow_02txsu7</bpmn:outgoing> |
| </bpmn:task> |
| <bpmn:exclusiveGateway id="Gateway_0k9cp1j" name="Статус согласования"> |
| <bpmn:incoming>Flow_02txsu7</bpmn:incoming> |
| <bpmn:outgoing>Flow_136tiya</bpmn:outgoing> |
| <bpmn:outgoing>Flow_15ogsrk</bpmn:outgoing> |
| <bpmn:outgoing>Flow_044vf8y</bpmn:outgoing> |
| </bpmn:exclusiveGateway> |
| <bpmn:task id="Activity_102h0mw" name="Забронировать отель"> |
| <bpmn:incoming>Flow_15ogsrk</bpmn:incoming> |
| <bpmn:outgoing>Flow_0xiibbk</bpmn:outgoing> |
| </bpmn:task> |
| <bpmn:task id="Activity_0pgopr9" name="Ознакомиться с отказом"> |
| <bpmn:incoming>Flow_044vf8y</bpmn:incoming> |
| <bpmn:outgoing>Flow_1hmq4jo</bpmn:outgoing> |
| </bpmn:task> |
| <bpmn:sequenceFlow id="Flow_12tjwvh" sourceRef="Event_0l63nlg" targetRef="Activity_0wxqowq" /> |
| <bpmn:sequenceFlow id="Flow_136tiya" name="На доработку" sourceRef="Gateway_0k9cp1j" targetRef="Activity_0wxqowq" /> |
| <bpmn:sequenceFlow id="Flow_114qi61" sourceRef="Activity_0wxqowq" targetRef="Activity_13zfvav" /> |
| <bpmn:sequenceFlow id="Flow_02txsu7" sourceRef="Activity_13zfvav" targetRef="Gateway_0k9cp1j" /> |
| <bpmn:sequenceFlow id="Flow_15ogsrk" name="Согласовано" sourceRef="Gateway_0k9cp1j" targetRef="Activity_102h0mw" /> |
| <bpmn:sequenceFlow id="Flow_044vf8y" name="Отказ" sourceRef="Gateway_0k9cp1j" targetRef="Activity_0pgopr9" /> |
| <bpmn:task id="Activity_0wxqowq" name="Инициировать согласование командировки"> |
| <bpmn:incoming>Flow_12tjwvh</bpmn:incoming> |
| <bpmn:incoming>Flow_136tiya</bpmn:incoming> |
| <bpmn:outgoing>Flow_114qi61</bpmn:outgoing> |
| </bpmn:task> |
| <bpmn:endEvent id="Event_1dcobs0" name="Командировка согласована, отель забронирован"> |
| <bpmn:incoming>Flow_0xiibbk</bpmn:incoming> |
| </bpmn:endEvent> |
| <bpmn:sequenceFlow id="Flow_0xiibbk" sourceRef="Activity_102h0mw" targetRef="Event_1dcobs0" /> |
| <bpmn:endEvent id="Event_0veb2fr" name="Получен отказ в командировке"> |
| <bpmn:incoming>Flow_1hmq4jo</bpmn:incoming> |
| </bpmn:endEvent> |
| <bpmn:sequenceFlow id="Flow_1hmq4jo" sourceRef="Activity_0pgopr9" targetRef="Event_0veb2fr" /> |
| </bpmn:process> |
| <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1v9xv45"> |
| <bpmndi:BPMNShape id="Participant_12s6bdh_di" bpmnElement="Participant_12s6bdh" isHorizontal="true"> |
| <dc:Bounds x="160" y="80" width="880" height="680" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Lane_1h7ar49_di" bpmnElement="Lane_1h7ar49" isHorizontal="true"> |
| <dc:Bounds x="190" y="534" width="850" height="226" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Lane_1g67lak_di" bpmnElement="Lane_1g67lak" isHorizontal="true"> |
| <dc:Bounds x="190" y="307" width="850" height="227" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Lane_05e4va0_di" bpmnElement="Lane_05e4va0" isHorizontal="true"> |
| <dc:Bounds x="190" y="80" width="850" height="227" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0l63nlg_di" bpmnElement="Event_0l63nlg"> |
| <dc:Bounds x="242" y="172" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_13zfvav_di" bpmnElement="Activity_13zfvav"> |
| <dc:Bounds x="350" y="370" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Gateway_0k9cp1j_di" bpmnElement="Gateway_0k9cp1j" isMarkerVisible="true"> |
| <dc:Bounds x="535" y="385" width="50" height="50" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="465" y="366" width="70" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_102h0mw_di" bpmnElement="Activity_102h0mw"> |
| <dc:Bounds x="510" y="600" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0pgopr9_di" bpmnElement="Activity_0pgopr9"> |
| <dc:Bounds x="740" y="150" width="100" height="80" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0f0lwe1_di" bpmnElement="Activity_0wxqowq"> |
| <dc:Bounds x="350" y="150" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1dcobs0_di" bpmnElement="Event_1dcobs0"> |
| <dc:Bounds x="902" y="622" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="883" y="665" width="75" height="53" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0veb2fr_di" bpmnElement="Event_0veb2fr"> |
| <dc:Bounds x="902" y="172" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="879" y="215" width="83" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_12tjwvh_di" bpmnElement="Flow_12tjwvh"> |
| <di:waypoint x="278" y="190" /> |
| <di:waypoint x="350" y="190" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_136tiya_di" bpmnElement="Flow_136tiya"> |
| <di:waypoint x="560" y="385" /> |
| <di:waypoint x="560" y="190" /> |
| <di:waypoint x="450" y="190" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="574" y="333" width="71" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_114qi61_di" bpmnElement="Flow_114qi61"> |
| <di:waypoint x="400" y="230" /> |
| <di:waypoint x="400" y="370" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_02txsu7_di" bpmnElement="Flow_02txsu7"> |
| <di:waypoint x="450" y="410" /> |
| <di:waypoint x="535" y="410" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_15ogsrk_di" bpmnElement="Flow_15ogsrk"> |
| <di:waypoint x="560" y="435" /> |
| <di:waypoint x="560" y="600" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="576" y="493" width="67" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_044vf8y_di" bpmnElement="Flow_044vf8y"> |
| <di:waypoint x="585" y="410" /> |
| <di:waypoint x="790" y="410" /> |
| <di:waypoint x="790" y="230" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="673" y="392" width="30" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0xiibbk_di" bpmnElement="Flow_0xiibbk"> |
| <di:waypoint x="610" y="640" /> |
| <di:waypoint x="902" y="640" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1hmq4jo_di" bpmnElement="Flow_1hmq4jo"> |
| <di:waypoint x="840" y="190" /> |
| <di:waypoint x="902" y="190" /> |
| </bpmndi:BPMNEdge> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </bpmn:definitions> |
| |
| </bpmnio> |
| |
===== ✘ Как НЕ надо ===== | ===== ✘ Как НЕ надо ===== |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:jjjores|Ржавин Георгий]] 2023-09-06 15:18// | --- //[[user:jjjores|Георгий Ржавин ]] 2023-09-06 15:18// |