Both sides previous revision Previous revision Next revision | Previous revision |
en:rule:start_event_naming [2024-08-26 17:49] – [Exceptions] Anatoly Belaychuk | en:rule:start_event_naming [2024-08-26 20:34] (current) – Anatoly Belaychuk |
---|
====== 0-TBD Start event name should answer the question "what happened?" ====== | ====== Start event name should answer the question "what happened?" ====== |
| |
{{tag>naming}} | {{tag>naming start_event}} |
| |
{{en:underconstruction.png?nolink&200|}} | Event must be named as event, not as activity or condition. |
| |
Put rule description here | |
| |
===== ✔ How to ===== | ===== ✔ How to ===== |
===== ✘ How NOT to ===== | ===== ✘ How NOT to ===== |
| |
Put antipattern (BPMN diagrams) here | <bpmnio type="bpmn"> |
| <?xml version="1.0" encoding="UTF-8"?> |
===== Notes ===== | <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"> |
Put extra comments here (this section is optional) | <startEvent id="Event_049uwl6" name="Obtain service requests"> |
| <messageEventDefinition id="MessageEventDefinition_0j5ke6j" /> |
| </startEvent> |
| <startEvent id="Event_0eci8d0" name="Outside temperature is below zero"> |
| <conditionalEventDefinition id="ConditionalEventDefinition_0c60u07"> |
| <condition xsi:type="tFormalExpression" /> |
| </conditionalEventDefinition> |
| </startEvent> |
| <startEvent id="Event_0lfs7an" name="Receive "mayday""> |
| <signalEventDefinition id="SignalEventDefinition_13ytxy3" /> |
| </startEvent> |
| <startEvent id="Event_03rulli" name="Get a product idea" /> |
| </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> |
| |
===== Exceptions ===== | ===== Exceptions ===== |
<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" | <process id="Process_1igllqk"> |
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" | <startEvent id="Event_0bxzk8l" name="Annually on Dec 1"> |
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" | <timerEventDefinition id="TimerEventDefinition_1wr6afo" /> |
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" | </startEvent> |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | </process> |
id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" | <bpmndi:BPMNDiagram id="BpmnDiagram_1"> |
targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> | <bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1igllqk"> |
<collaboration id="Collaboration_1oh70al"> | <bpmndi:BPMNShape id="Event_10o2tod_di" bpmnElement="Event_0bxzk8l"> |
<participant id="Participant_1r8g02m" name="Add a BPMN diagram" processRef="Process_1" /> | <omgdc:Bounds x="382" y="102" width="36" height="36" /> |
</collaboration> | <bpmndi:BPMNLabel> |
<process id="Process_1" isExecutable="false"> | <omgdc:Bounds x="356" y="145" width="89" height="14" /> |
<startEvent id="StartEvent_1" name="Start"> | </bpmndi:BPMNLabel> |
<outgoing>SequenceFlow_1</outgoing> | </bpmndi:BPMNShape> |
</startEvent> | </bpmndi:BPMNPlane> |
<task id="Task_1" name="Do Something"> | </bpmndi:BPMNDiagram> |
<incoming>SequenceFlow_1</incoming> | |
<incoming>SequenceFlow_121ul2c</incoming> | |
<incoming>SequenceFlow_0nuwads</incoming> | |
<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> |
===== See also ===== | ===== See also ===== |
| |
Reference similar rules here (this section is optional) | * [[end_event_naming]] |
| * [[intermediate_event_naming]] |
===== Author(s) ===== | ===== Author(s) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// |