Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:start_event_naming [2024-08-22 21:02] – [0-TBD Название события-обработчика должно отвечать на вопрос "что случилось"] Anatoly Belaychuk | ru:rule:start_event_naming [2024-08-26 20:32] (текущий) – 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:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
| <process id="Process_1pkubye"> |
| <startEvent id="Event_049uwl6" name="Получен запрос на обслуживание"> |
| <messageEventDefinition id="MessageEventDefinition_0j5ke6j" /> |
| </startEvent> |
| <startEvent id="Event_0eci8d0" name="Температура на улице опустилась ниже нуля"> |
| <conditionalEventDefinition id="ConditionalEventDefinition_0c60u07"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </startEvent> |
| <startEvent id="Event_0lfs7an" name="Получен сигнал SOS"> |
| <signalEventDefinition id="SignalEventDefinition_13ytxy3" /> |
| </startEvent> |
| <startEvent id="Event_03rulli" name="Появилась идея" /> |
| </process> |
| <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
| <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1pkubye"> |
| <bpmndi:BPMNShape id="Event_1levnwe_di" bpmnElement="Event_0eci8d0"> |
| <omgdc:Bounds x="452" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="433" y="125" width="74" height="53" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_04wlg65_di" bpmnElement="Event_0lfs7an"> |
| <omgdc:Bounds x="592" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="587" y="125" width="47" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1ce02mi_di" bpmnElement="Event_049uwl6"> |
| <omgdc:Bounds x="312" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="291" y="125" width="78" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_03rulli_di" bpmnElement="Event_03rulli"> |
| <omgdc:Bounds x="162" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="147" y="125" width="68" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| </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:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
| <process id="Process_1pkubye"> |
Тут дополнительные комментарии (этот раздел опционален) | <startEvent id="Event_049uwl6" name="Получать запрос на обслуживание"> |
| <messageEventDefinition id="MessageEventDefinition_0j5ke6j" /> |
| </startEvent> |
| <startEvent id="Event_0eci8d0" name="Уличная температура ниже нуля"> |
| <conditionalEventDefinition id="ConditionalEventDefinition_0c60u07"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </startEvent> |
| <startEvent id="Event_0lfs7an" name="Получить сигнал SOS"> |
| <signalEventDefinition id="SignalEventDefinition_13ytxy3" /> |
| </startEvent> |
| <startEvent id="Event_03rulli" name="Найти идею" /> |
| </process> |
| <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
| <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1pkubye"> |
| <bpmndi:BPMNShape id="Event_1ce02mi_di" bpmnElement="Event_049uwl6"> |
| <omgdc:Bounds x="312" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="291" y="125" width="78" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1levnwe_di" bpmnElement="Event_0eci8d0"> |
| <omgdc:Bounds x="452" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="435" y="125" width="70" height="40" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_04wlg65_di" bpmnElement="Event_0lfs7an"> |
| <omgdc:Bounds x="592" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="587" y="125" width="47" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_03rulli_di" bpmnElement="Event_03rulli"> |
| <omgdc:Bounds x="162" y="82" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="147" y="125" width="68" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| </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:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
| <process id="Process_1igllqk"> |
| <startEvent id="Event_0bxzk8l" name="Ежегодно 1 декабря"> |
| <timerEventDefinition id="TimerEventDefinition_1wr6afo" /> |
| </startEvent> |
| </process> |
| <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
| <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1igllqk"> |
| <bpmndi:BPMNShape id="Event_10o2tod_di" bpmnElement="Event_0bxzk8l"> |
| <omgdc:Bounds x="382" y="102" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="356" y="145" width="89" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </definitions> |
| </bpmnio> |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[end_event_naming]] |
| * [[intermediate_event_naming]] |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 20:53// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 20:53// |