Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:happy_path [2024-08-26 14:36] – [✔ Как надо] Anatoly Belaychuk | ru:rule:happy_path [2024-08-26 15:07] (текущий) – [✔ Как надо] Anatoly Belaychuk |
---|
====== 0-TBD Выделяйте магистральный путь процесса ====== | ====== Показывайте магистральный путь процесса ====== |
| |
{{tag>магистральный_путь}} | {{tag>магистральный_путь}} |
| |
{{:ru:v_razrabotke.png?nolink&200|}} | Выделяйте визуально магистральный путь процесса. |
| |
Магистральным путем называется желаемый (он же обычно кратчайший) маршрут, приводящий к успешному завершению процесса. | |
Его желательно визуально выделять на диаграмме. | |
===== ✔ Как надо ===== | ===== ✔ Как надо ===== |
| |
| 1. |
| Диаграмма без дорожек. |
| Магистральный путь - прямой слева направо, бизнес-исключения - сверху или снизу. |
| |
<bpmnio type="bpmn"> | <bpmnio type="bpmn"> |
<outgoing>Flow_18g3wq3</outgoing> | <outgoing>Flow_18g3wq3</outgoing> |
</subProcess> | </subProcess> |
<endEvent id="Event_0rca10s"> | <endEvent id="Event_0rca10s" name="Неудача 2"> |
<incoming>Flow_18g3wq3</incoming> | <incoming>Flow_18g3wq3</incoming> |
</endEvent> | </endEvent> |
<sequenceFlow id="Flow_18g3wq3" sourceRef="Activity_1v2uh91" targetRef="Event_0rca10s" /> | <sequenceFlow id="Flow_18g3wq3" sourceRef="Activity_1v2uh91" targetRef="Event_0rca10s" /> |
<endEvent id="Event_0drdvss"> | <endEvent id="Event_0drdvss" name="Неудача 1"> |
<incoming>Flow_1ubwnwh</incoming> | <incoming>Flow_1ubwnwh</incoming> |
</endEvent> | </endEvent> |
<sequenceFlow id="Flow_1k65tpf" sourceRef="Activity_08wwz9l" targetRef="Gateway_0aqk78w" /> | <sequenceFlow id="Flow_1k65tpf" sourceRef="Activity_08wwz9l" targetRef="Gateway_0aqk78w" /> |
<sequenceFlow id="Flow_169jexn" sourceRef="Gateway_0aqk78w" targetRef="Activity_1phoo3h" /> | <sequenceFlow id="Flow_169jexn" sourceRef="Gateway_0aqk78w" targetRef="Activity_1phoo3h" /> |
<endEvent id="Event_12nf283"> | <endEvent id="Event_12nf283" name="Успех"> |
<incoming>Flow_1qal27c</incoming> | <incoming>Flow_1qal27c</incoming> |
</endEvent> | </endEvent> |
</exclusiveGateway> | </exclusiveGateway> |
<sequenceFlow id="Flow_0wpw5ru" sourceRef="Activity_1phoo3h" targetRef="Gateway_18ub7hp" /> | <sequenceFlow id="Flow_0wpw5ru" sourceRef="Activity_1phoo3h" targetRef="Gateway_18ub7hp" /> |
<endEvent id="Event_0rxw246"> | <endEvent id="Event_0rxw246" name="Неудача 3"> |
<incoming>Flow_0j1evye</incoming> | <incoming>Flow_0j1evye</incoming> |
</endEvent> | </endEvent> |
<bpmndi:BPMNShape id="Event_10bu9yc_di" bpmnElement="Event_10bu9yc"> | <bpmndi:BPMNShape id="Event_10bu9yc_di" bpmnElement="Event_10bu9yc"> |
<omgdc:Bounds x="222" y="172" width="36" height="36" /> | <omgdc:Bounds x="222" y="172" width="36" height="36" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1wjgosf_di" bpmnElement="Activity_1g9k9cf"> |
| <omgdc:Bounds x="300" y="150" width="100" height="80" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_0rrliso_di" bpmnElement="Gateway_0rrliso" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_0rrliso_di" bpmnElement="Gateway_0rrliso" isMarkerVisible="true"> |
<omgdc:Bounds x="435" y="165" width="50" height="50" /> | <omgdc:Bounds x="435" y="165" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0salagv_di" bpmnElement="Activity_14du6kv"> |
| <omgdc:Bounds x="520" y="150" width="100" height="80" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_0tf26rz_di" bpmnElement="Gateway_0tf26rz" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_0tf26rz_di" bpmnElement="Gateway_0tf26rz" isMarkerVisible="true"> |
<omgdc:Bounds x="665" y="165" width="50" height="50" /> | <omgdc:Bounds x="665" y="165" width="50" height="50" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0x0d9u1_di" bpmnElement="Activity_1v2uh91"> |
| <omgdc:Bounds x="640" y="270" width="100" height="80" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Event_0rca10s_di" bpmnElement="Event_0rca10s"> | <bpmndi:BPMNShape id="Event_0rca10s_di" bpmnElement="Event_0rca10s"> |
<omgdc:Bounds x="782" y="292" width="36" height="36" /> | <omgdc:Bounds x="782" y="292" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="779" y="335" width="43" height="14" /> |
| </bpmndi:BPMNLabel> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Event_0drdvss_di" bpmnElement="Event_0drdvss"> | <bpmndi:BPMNShape id="Event_0drdvss_di" bpmnElement="Event_0drdvss"> |
<omgdc:Bounds x="442" y="292" width="36" height="36" /> | <omgdc:Bounds x="442" y="292" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="439" y="335" width="43" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0cxc6mp_di" bpmnElement="Activity_08wwz9l"> |
| <omgdc:Bounds x="760" y="150" width="100" height="80" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_0aqk78w_di" bpmnElement="Gateway_0aqk78w" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_0aqk78w_di" bpmnElement="Gateway_0aqk78w" isMarkerVisible="true"> |
<bpmndi:BPMNShape id="Event_12nf283_di" bpmnElement="Event_12nf283"> | <bpmndi:BPMNShape id="Event_12nf283_di" bpmnElement="Event_12nf283"> |
<omgdc:Bounds x="992" y="172" width="36" height="36" /> | <omgdc:Bounds x="992" y="172" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="989" y="215" width="42" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1glupfw_di" bpmnElement="Activity_1phoo3h"> |
| <omgdc:Bounds x="880" y="30" width="100" height="80" /> |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNShape id="Gateway_18ub7hp_di" bpmnElement="Gateway_18ub7hp" isMarkerVisible="true"> | <bpmndi:BPMNShape id="Gateway_18ub7hp_di" bpmnElement="Gateway_18ub7hp" isMarkerVisible="true"> |
<bpmndi:BPMNShape id="Event_0rxw246_di" bpmnElement="Event_0rxw246"> | <bpmndi:BPMNShape id="Event_0rxw246_di" bpmnElement="Event_0rxw246"> |
<omgdc:Bounds x="992" y="-48" width="36" height="36" /> | <omgdc:Bounds x="992" y="-48" width="36" height="36" /> |
</bpmndi:BPMNShape> | <bpmndi:BPMNLabel> |
<bpmndi:BPMNShape id="Activity_1wjgosf_di" bpmnElement="Activity_1g9k9cf"> | <omgdc:Bounds x="989" y="-5" width="43" height="14" /> |
<omgdc:Bounds x="300" y="150" width="100" height="80" /> | </bpmndi:BPMNLabel> |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0salagv_di" bpmnElement="Activity_14du6kv"> | |
<omgdc:Bounds x="520" y="150" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0x0d9u1_di" bpmnElement="Activity_1v2uh91"> | |
<omgdc:Bounds x="640" y="270" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_0cxc6mp_di" bpmnElement="Activity_08wwz9l"> | |
<omgdc:Bounds x="760" y="150" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Activity_1glupfw_di" bpmnElement="Activity_1phoo3h"> | |
<omgdc:Bounds x="880" y="30" width="100" height="80" /> | |
</bpmndi:BPMNShape> | </bpmndi:BPMNShape> |
<bpmndi:BPMNEdge id="Flow_1ybbsgb_di" bpmnElement="Flow_1ybbsgb"> | <bpmndi:BPMNEdge id="Flow_1ybbsgb_di" bpmnElement="Flow_1ybbsgb"> |
</definitions> | </definitions> |
</bpmnio> | </bpmnio> |
| |
| 2. |
| Диаграмма с дорожками. |
| Магистральный путь помечен зеленым цветом, допустимые отклонения (дополнительная работа) - желтым, нежелательные отклонения (брак, переделки) - красным. |
| |
<bpmnio type="bpmn"> | <bpmnio type="bpmn"> |
</definitions> | </definitions> |
</bpmnio> | </bpmnio> |
| |
===== ✘ Как НЕ надо ===== | |
| |
Тут антипаттерны (диаграммы) | |
| |
===== Примечания ===== | ===== Примечания ===== |
| |
Тут дополнительные комментарии (этот раздел опционален) | Магистральный путь - желаемый (он же обычно кратчайший) маршрут, приводящий к успешному завершению процесса. |
| |
===== Исключения ===== | |
| |
Исключения из указанного выше правила (если есть) | |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[direct_happypath_via_default]] |
| * [[direction_of_motion]] |
| |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-26 12:01// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-26 12:01// |