Следующая версия | Предыдущая версия |
ru:rule:intermediate_event_naming [2024-08-22 21:05] – создано Anatoly Belaychuk | ru:rule:intermediate_event_naming [2024-08-26 21:11] (текущий) – [0-TBD Название промежуточного события должно отвечать на вопрос "что случилось?"] 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" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
| <process id="Process_1pkubye"> |
| <intermediateThrowEvent id="Event_0m8lwmr" name="Платеж получен"> |
| <messageEventDefinition id="MessageEventDefinition_0yyg8on" /> |
| </intermediateThrowEvent> |
| <intermediateCatchEvent id="Event_0r2t58u" name="Платеж получен"> |
| <messageEventDefinition id="MessageEventDefinition_1acke2j" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0y6rrmj" /> |
| <boundaryEvent id="Event_0sy5cdz" name="Платеж получен" attachedToRef="Activity_0y6rrmj"> |
| <outgoing>Flow_17uwiz4</outgoing> |
| <messageEventDefinition id="MessageEventDefinition_0yfp4m1" /> |
| </boundaryEvent> |
| <task id="Activity_1a27284"> |
| <incoming>Flow_17uwiz4</incoming> |
| </task> |
| <sequenceFlow id="Flow_17uwiz4" sourceRef="Event_0sy5cdz" targetRef="Activity_1a27284" /> |
| <intermediateCatchEvent id="Event_1dvx4q3" name="Статус платежа сменился на "получен""> |
| <conditionalEventDefinition id="ConditionalEventDefinition_1bucsll"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </intermediateCatchEvent> |
| <task id="Activity_0voni1v" /> |
| <task id="Activity_119ftmg"> |
| <incoming>Flow_01unld0</incoming> |
| </task> |
| <sequenceFlow id="Flow_01unld0" sourceRef="Event_0adwef1" targetRef="Activity_119ftmg" /> |
| <intermediateThrowEvent id="Event_1nqz7rg" name="Штормовое предупреждение"> |
| <signalEventDefinition id="SignalEventDefinition_0ighhex" /> |
| </intermediateThrowEvent> |
| <intermediateCatchEvent id="Event_1n34t62" name="Штормовое предупреждение"> |
| <signalEventDefinition id="SignalEventDefinition_1p8gxq3" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0kjgj58" /> |
| <task id="Activity_0ke2peo"> |
| <incoming>Flow_0cl0494</incoming> |
| </task> |
| <sequenceFlow id="Flow_0cl0494" sourceRef="Event_1fzs5w5" targetRef="Activity_0ke2peo" /> |
| <boundaryEvent id="Event_1fzs5w5" name="Штормовое предупреждение" attachedToRef="Activity_0kjgj58"> |
| <outgoing>Flow_0cl0494</outgoing> |
| <signalEventDefinition id="SignalEventDefinition_1n7pn7w" /> |
| </boundaryEvent> |
| <boundaryEvent id="Event_0adwef1" name="Статус платежа сменился на "получен"" attachedToRef="Activity_0voni1v"> |
| <outgoing>Flow_01unld0</outgoing> |
| <conditionalEventDefinition id="ConditionalEventDefinition_0rwt0jq"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </boundaryEvent> |
| <intermediateCatchEvent id="Event_0seb4kg" name="Платеж просрочен"> |
| <timerEventDefinition id="TimerEventDefinition_0i2kzbd" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0lt7v0m" /> |
| <boundaryEvent id="Event_1m2w55l" name="Платеж просрочен" attachedToRef="Activity_0lt7v0m"> |
| <outgoing>Flow_1up8efg</outgoing> |
| <timerEventDefinition id="TimerEventDefinition_1vrdj01" /> |
| </boundaryEvent> |
| <task id="Activity_1jwcpz7"> |
| <incoming>Flow_1up8efg</incoming> |
| </task> |
| <sequenceFlow id="Flow_1up8efg" sourceRef="Event_1m2w55l" targetRef="Activity_1jwcpz7" /> |
| </process> |
| <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
| <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1pkubye"> |
| <bpmndi:BPMNShape id="Activity_0y6rrmj_di" bpmnElement="Activity_0y6rrmj"> |
| <omgdc:Bounds x="280" y="310" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0xjclxb_di" bpmnElement="Event_0m8lwmr"> |
| <omgdc:Bounds x="312" y="92" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="286" y="135" width="89" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_057z9db_di" bpmnElement="Event_0r2t58u"> |
| <omgdc:Bounds x="312" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="286" y="245" width="89" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1a27284_di" bpmnElement="Activity_1a27284"> |
| <omgdc:Bounds x="310" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1kiyj8c_di" bpmnElement="Event_1nqz7rg"> |
| <omgdc:Bounds x="512" y="92" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="498" y="135" width="65" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_05xmqbt_di" bpmnElement="Event_1n34t62"> |
| <omgdc:Bounds x="512" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="498" y="245" width="65" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0kjgj58_di" bpmnElement="Activity_0kjgj58"> |
| <omgdc:Bounds x="480" y="300" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0ke2peo_di" bpmnElement="Activity_0ke2peo"> |
| <omgdc:Bounds x="510" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0yu3bti_di" bpmnElement="Event_1dvx4q3"> |
| <omgdc:Bounds x="702" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="682" y="245" width="77" height="40" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0voni1v_di" bpmnElement="Activity_0voni1v"> |
| <omgdc:Bounds x="670" y="300" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_119ftmg_di" bpmnElement="Activity_119ftmg"> |
| <omgdc:Bounds x="700" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0lt7v0m_di" bpmnElement="Activity_0lt7v0m"> |
| <omgdc:Bounds x="850" y="300" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1u66bue_di" bpmnElement="Event_0seb4kg"> |
| <omgdc:Bounds x="882" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="873" y="245" width="55" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1jwcpz7_di" bpmnElement="Activity_1jwcpz7"> |
| <omgdc:Bounds x="880" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_15qceyk_di" bpmnElement="Event_0sy5cdz"> |
| <omgdc:Bounds x="342" y="372" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="316" y="415" width="89" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1glnvn4_di" bpmnElement="Event_1fzs5w5"> |
| <omgdc:Bounds x="542" y="362" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="528" y="405" width="65" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1dfnwdv_di" bpmnElement="Event_0adwef1"> |
| <omgdc:Bounds x="732" y="362" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="712" y="405" width="77" height="40" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_16widj1_di" bpmnElement="Event_1m2w55l"> |
| <omgdc:Bounds x="912" y="362" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="903" y="405" width="55" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_17uwiz4_di" bpmnElement="Flow_17uwiz4"> |
| <di:waypoint x="360" y="408" /> |
| <di:waypoint x="360" y="460" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0cl0494_di" bpmnElement="Flow_0cl0494"> |
| <di:waypoint x="560" y="398" /> |
| <di:waypoint x="560" y="460" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_01unld0_di" bpmnElement="Flow_01unld0"> |
| <di:waypoint x="750" y="398" /> |
| <di:waypoint x="750" y="460" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_1up8efg_di" bpmnElement="Flow_1up8efg"> |
| <di:waypoint x="930" y="398" /> |
| <di:waypoint x="930" y="460" /> |
| </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:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> |
| <process id="Process_1pkubye"> |
| <intermediateCatchEvent id="Event_0r2t58u" name="Получить платеж"> |
| <messageEventDefinition id="MessageEventDefinition_1acke2j" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0y6rrmj" /> |
| <boundaryEvent id="Event_0sy5cdz" name="Получить платеж" attachedToRef="Activity_0y6rrmj"> |
| <outgoing>Flow_17uwiz4</outgoing> |
| <messageEventDefinition id="MessageEventDefinition_0yfp4m1" /> |
| </boundaryEvent> |
| <task id="Activity_1a27284"> |
| <incoming>Flow_17uwiz4</incoming> |
| </task> |
| <sequenceFlow id="Flow_17uwiz4" sourceRef="Event_0sy5cdz" targetRef="Activity_1a27284" /> |
| <intermediateCatchEvent id="Event_1dvx4q3" name="Статус платежа "получен""> |
| <conditionalEventDefinition id="ConditionalEventDefinition_1bucsll"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </intermediateCatchEvent> |
| <task id="Activity_0voni1v" /> |
| <task id="Activity_119ftmg"> |
| <incoming>Flow_01unld0</incoming> |
| </task> |
| <sequenceFlow id="Flow_01unld0" sourceRef="Event_0adwef1" targetRef="Activity_119ftmg" /> |
| <intermediateCatchEvent id="Event_1n34t62" name="Получить штормовое предупреждение"> |
| <signalEventDefinition id="SignalEventDefinition_1p8gxq3" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0kjgj58" /> |
| <task id="Activity_0ke2peo"> |
| <incoming>Flow_0cl0494</incoming> |
| </task> |
| <sequenceFlow id="Flow_0cl0494" sourceRef="Event_1fzs5w5" targetRef="Activity_0ke2peo" /> |
| <boundaryEvent id="Event_1fzs5w5" name="Получить штормовое предупреждение" attachedToRef="Activity_0kjgj58"> |
| <outgoing>Flow_0cl0494</outgoing> |
| <signalEventDefinition id="SignalEventDefinition_1n7pn7w" /> |
| </boundaryEvent> |
| <boundaryEvent id="Event_0adwef1" name="Статус платежа "получен"" attachedToRef="Activity_0voni1v"> |
| <outgoing>Flow_01unld0</outgoing> |
| <conditionalEventDefinition id="ConditionalEventDefinition_0rwt0jq"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </boundaryEvent> |
| </process> |
| <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
| <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1pkubye"> |
| <bpmndi:BPMNShape id="Event_057z9db_di" bpmnElement="Event_0r2t58u"> |
| <omgdc:Bounds x="312" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="288" y="245" width="86" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0y6rrmj_di" bpmnElement="Activity_0y6rrmj"> |
| <omgdc:Bounds x="280" y="310" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_1a27284_di" bpmnElement="Activity_1a27284"> |
| <omgdc:Bounds x="310" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_0yu3bti_di" bpmnElement="Event_1dvx4q3"> |
| <omgdc:Bounds x="702" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="677" y="245" width="88" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0voni1v_di" bpmnElement="Activity_0voni1v"> |
| <omgdc:Bounds x="670" y="300" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_119ftmg_di" bpmnElement="Activity_119ftmg"> |
| <omgdc:Bounds x="700" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_05xmqbt_di" bpmnElement="Event_1n34t62"> |
| <omgdc:Bounds x="512" y="202" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="502" y="245" width="57" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0kjgj58_di" bpmnElement="Activity_0kjgj58"> |
| <omgdc:Bounds x="480" y="300" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Activity_0ke2peo_di" bpmnElement="Activity_0ke2peo"> |
| <omgdc:Bounds x="510" y="460" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1dfnwdv_di" bpmnElement="Event_0adwef1"> |
| <omgdc:Bounds x="732" y="362" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="707" y="405" width="88" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_1glnvn4_di" bpmnElement="Event_1fzs5w5"> |
| <omgdc:Bounds x="542" y="362" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="532" y="405" width="57" height="27" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Event_15qceyk_di" bpmnElement="Event_0sy5cdz"> |
| <omgdc:Bounds x="342" y="372" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <omgdc:Bounds x="318" y="415" width="86" height="14" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="Flow_17uwiz4_di" bpmnElement="Flow_17uwiz4"> |
| <di:waypoint x="360" y="408" /> |
| <di:waypoint x="360" y="460" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_01unld0_di" bpmnElement="Flow_01unld0"> |
| <di:waypoint x="750" y="398" /> |
| <di:waypoint x="750" y="460" /> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNEdge id="Flow_0cl0494_di" bpmnElement="Flow_0cl0494"> |
| <di:waypoint x="560" y="398" /> |
| <di:waypoint x="560" y="460" /> |
| </bpmndi:BPMNEdge> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </definitions> |
| </bpmnio> |
| |
===== Примечания ===== | ===== Примечания ===== |
| |
Тут дополнительные комментарии (этот раздел опционален) | Названия парных событий-инициаторов и обработчиков должны совпадать (относится к сообщениям и сигналам). |
| |
===== Исключения ===== | |
| |
Исключения из указанного выше правила (если есть) | |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[start_event_naming]] |
| * [[end_event_naming]] |
| |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// |