Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия |
ru:rule:process_naming [2024-08-27 11:55] – [✘ Как НЕ надо] Anatoly Belaychuk | ru:rule:process_naming [2024-10-05 13:32] (текущий) – [Называйте процесс как сервис] Anatoly Belaychuk |
---|
====== 0-TBD Называйте процесс как услугу ====== | ====== Называйте процесс как сервис ====== |
| |
{{tag>процесс именование}} | {{tag>процесс-ru именование}} |
| |
{{:ru:v_razrabotke.png?nolink&200|}} | |
| |
Тут описание правила | |
| |
| Название процесса должно органично восприниматься его потребителями. |
===== ✔ Как надо ===== | ===== ✔ Как надо ===== |
| |
<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: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_1l9aqsb"> |
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | <participant id="Participant_1wl0m5x" name="Месячное планирование производства" processRef="Process_1jsnw7v" /> |
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" | <participant id="Participant_1v0xp0y" name="Плановый ремонт" processRef="Process_0xmc2mn" /> |
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" | <participant id="Participant_01xzk99" name="Экспортная продажа продукции нефтехимии" processRef="Process_1xxgtsq" /> |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | <participant id="Participant_01kzgyn" name="Сдача квартальной налоговой отчетности" processRef="Process_1gkxcw1" /> |
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" | </collaboration> |
targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> | <process id="Process_1jsnw7v" /> |
<collaboration id="Collaboration_1oh70al"> | <process id="Process_0xmc2mn" /> |
<participant id="Participant_1r8g02m" name="Тут паттерны (диаграммы) | <process id="Process_1xxgtsq" /> |
" processRef="Process_1" /> | <process id="Process_1gkxcw1" /> |
</collaboration> | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
<process id="Process_1" isExecutable="false"> | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1l9aqsb"> |
<startEvent id="StartEvent_1" name="Start"> | <bpmndi:BPMNShape id="Participant_1wl0m5x_di" bpmnElement="Participant_1wl0m5x" isHorizontal="true"> |
<outgoing>SequenceFlow_1</outgoing> | <omgdc:Bounds x="220" y="50" width="300" height="250" /> |
</startEvent> | <bpmndi:BPMNLabel /> |
<task id="Task_1" name="Do Something"> | </bpmndi:BPMNShape> |
<incoming>SequenceFlow_1</incoming> | <bpmndi:BPMNShape id="Participant_01xzk99_di" bpmnElement="Participant_01xzk99" isHorizontal="true"> |
<incoming>SequenceFlow_121ul2c</incoming> | <omgdc:Bounds x="-150" y="50" width="300" height="250" /> |
<incoming>SequenceFlow_0nuwads</incoming> | <bpmndi:BPMNLabel /> |
<outgoing>SequenceFlow_2</outgoing> | </bpmndi:BPMNShape> |
</task> | <bpmndi:BPMNShape id="Participant_1v0xp0y_di" bpmnElement="Participant_1v0xp0y" isHorizontal="true"> |
<exclusiveGateway id="ExclusiveGateway_1" name="Result OK" gatewayDirection="Diverging"> | <omgdc:Bounds x="-150" y="360" width="300" height="250" /> |
<incoming>SequenceFlow_2</incoming> | <bpmndi:BPMNLabel /> |
<outgoing>SequenceFlow_0snv4kp</outgoing> | </bpmndi:BPMNShape> |
<outgoing>SequenceFlow_0nuwads</outgoing> | <bpmndi:BPMNShape id="Participant_01kzgyn_di" bpmnElement="Participant_01kzgyn" isHorizontal="true"> |
</exclusiveGateway> | <omgdc:Bounds x="220" y="360" width="300" height="250" /> |
<task id="Task_17knw8l" name="Monitor"> | <bpmndi:BPMNLabel /> |
<outgoing>SequenceFlow_121ul2c</outgoing> | </bpmndi:BPMNShape> |
</task> | </bpmndi:BPMNPlane> |
<endEvent id="EndEvent_0oj7l6x" name="End"> | </bpmndi:BPMNDiagram> |
<incoming>SequenceFlow_0snv4kp</incoming> | |
</endEvent> | |
<sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_0nuwads" name="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="ExclusiveGateway_1" /> | |
<sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" /> | |
</process> | |
<bpmndi:BPMNDiagram id="BpmnDiagram_1"> | |
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al"> | |
<bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m"> | |
<omgdc:Bounds x="104" y="78" width="668" height="297" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1"> | |
<omgdc:Bounds x="242" y="187" width="30" height="30" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="212" y="219" width="90" height="22" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1"> | |
<omgdc:Bounds x="340" y="162" width="100" height="80" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true"> | |
<omgdc:Bounds x="508" y="182" width="40" height="40" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="483" y="234" width="90" height="24" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l"> | |
<omgdc:Bounds x="340" y="275" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x"> | |
<omgdc:Bounds x="648" y="184" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="621" y="220" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="272" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="340" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="225" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="275" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="242" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="358" y="273" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="182" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="162" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="495" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="440" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="508" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="433" y="192" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="548" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="648" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="550" y="183" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</definitions> | </definitions> |
</bpmnio> | </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: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_0zvoi7x"> |
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | <participant id="Participant_1452cpf" name="Процесс квартальной отчетности" processRef="Process_1" /> |
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" | <participant id="Participant_1tztx53" name="Выполнить плановый ремонт" processRef="Process_0i7k2aj" /> |
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" | </collaboration> |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | <process id="Process_1" isExecutable="false" /> |
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" | <process id="Process_0i7k2aj" /> |
targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
<collaboration id="Collaboration_1oh70al"> | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0zvoi7x"> |
<participant id="Participant_1r8g02m" name="Добавить диаграмму BPMN" processRef="Process_1" /> | <bpmndi:BPMNShape id="Participant_1452cpf_di" bpmnElement="Participant_1452cpf" isHorizontal="true"> |
</collaboration> | <omgdc:Bounds x="200" y="40" width="300" height="250" /> |
<process id="Process_1" isExecutable="false"> | <bpmndi:BPMNLabel /> |
<startEvent id="StartEvent_1" name="Start"> | </bpmndi:BPMNShape> |
<outgoing>SequenceFlow_1</outgoing> | <bpmndi:BPMNShape id="Participant_1tztx53_di" bpmnElement="Participant_1tztx53" isHorizontal="true"> |
</startEvent> | <omgdc:Bounds x="570" y="40" width="300" height="250" /> |
<task id="Task_1" name="Do Something"> | <bpmndi:BPMNLabel /> |
<incoming>SequenceFlow_1</incoming> | </bpmndi:BPMNShape> |
<incoming>SequenceFlow_121ul2c</incoming> | </bpmndi:BPMNPlane> |
<incoming>SequenceFlow_0nuwads</incoming> | </bpmndi:BPMNDiagram> |
<outgoing>SequenceFlow_2</outgoing> | |
</task> | |
<exclusiveGateway id="ExclusiveGateway_1" name="Result OK" gatewayDirection="Diverging"> | |
<incoming>SequenceFlow_2</incoming> | |
<outgoing>SequenceFlow_0snv4kp</outgoing> | |
<outgoing>SequenceFlow_0nuwads</outgoing> | |
</exclusiveGateway> | |
<task id="Task_17knw8l" name="Monitor"> | |
<outgoing>SequenceFlow_121ul2c</outgoing> | |
</task> | |
<endEvent id="EndEvent_0oj7l6x" name="End"> | |
<incoming>SequenceFlow_0snv4kp</incoming> | |
</endEvent> | |
<sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_121ul2c" sourceRef="Task_17knw8l" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_0nuwads" name="No" sourceRef="ExclusiveGateway_1" targetRef="Task_1" /> | |
<sequenceFlow id="SequenceFlow_2" sourceRef="Task_1" targetRef="ExclusiveGateway_1" /> | |
<sequenceFlow id="SequenceFlow_0snv4kp" name="Yes" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_0oj7l6x" /> | |
</process> | |
<bpmndi:BPMNDiagram id="BpmnDiagram_1"> | |
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Collaboration_1oh70al"> | |
<bpmndi:BPMNShape id="Participant_1r8g02m_di" bpmnElement="Participant_1r8g02m"> | |
<omgdc:Bounds x="104" y="78" width="668" height="297" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="StartEvent_1_gui" bpmnElement="StartEvent_1"> | |
<omgdc:Bounds x="242" y="187" width="30" height="30" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="212" y="219" width="90" height="22" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_1_gui" bpmnElement="Task_1"> | |
<omgdc:Bounds x="340" y="162" width="100" height="80" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="118.85714721679688" y="47" width="82.28570556640625" height="12" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="ExclusiveGateway_1_gui" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true"> | |
<omgdc:Bounds x="508" y="182" width="40" height="40" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="483" y="234" width="90" height="24" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="Task_17knw8l_di" bpmnElement="Task_17knw8l"> | |
<omgdc:Bounds x="340" y="275" width="100" height="80" /> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNShape id="EndEvent_0oj7l6x_di" bpmnElement="EndEvent_0oj7l6x"> | |
<omgdc:Bounds x="648" y="184" width="36" height="36" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="621" y="220" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNShape> | |
<bpmndi:BPMNEdge id="SequenceFlow_1_gui" bpmnElement="SequenceFlow_1"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="272" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="340" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="225" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_121ul2c_di" bpmnElement="SequenceFlow_121ul2c"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="275" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="242" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="358" y="273" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0nuwads_di" bpmnElement="SequenceFlow_0nuwads"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="182" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="528" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="110" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="390" y="162" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="495" y="140" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_2_di" bpmnElement="SequenceFlow_2"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="440" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="508" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="433" y="192" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
<bpmndi:BPMNEdge id="SequenceFlow_0snv4kp_di" bpmnElement="SequenceFlow_0snv4kp"> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="548" y="202" /> | |
<omgdi:waypoint xsi:type="omgdc:Point" x="648" y="202" /> | |
<bpmndi:BPMNLabel> | |
<omgdc:Bounds x="550" y="183" width="90" height="20" /> | |
</bpmndi:BPMNLabel> | |
</bpmndi:BPMNEdge> | |
</bpmndi:BPMNPlane> | |
</bpmndi:BPMNDiagram> | |
</definitions> | </definitions> |
</bpmnio> | </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"> |
| <collaboration id="Collaboration_0zvoi7x"> |
| <participant id="Participant_1452cpf" name="От заказа до оплаты" processRef="Process_1" /> |
| <participant id="Participant_1tztx53" name="От претензии до урегулирования" processRef="Process_0i7k2aj" /> |
| </collaboration> |
| <process id="Process_1" isExecutable="false" /> |
| <process id="Process_0i7k2aj" /> |
| <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0zvoi7x"> |
| <bpmndi:BPMNShape id="Participant_1452cpf_di" bpmnElement="Participant_1452cpf" isHorizontal="true"> |
| <omgdc:Bounds x="200" y="40" width="300" height="250" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="Participant_1tztx53_di" bpmnElement="Participant_1tztx53" isHorizontal="true"> |
| <omgdc:Bounds x="570" y="40" width="300" height="250" /> |
| <bpmndi:BPMNLabel /> |
| </bpmndi:BPMNShape> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </definitions> |
| </bpmnio> |
| |
===== Смотри также ===== | ===== Смотри также ===== |
| |
Тут ссылки на страницы со схожим контентом (этот раздел опционален) | * [[task_naming]] |
| * [[subprocess_naming]] |
===== Автор(ы) ===== | ===== Автор(ы) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-23 19:01// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-23 19:01// |