Both sides previous revision Previous revision Next revision | Previous revision |
en:rule:intermediate_event_naming [2024-08-26 20:54] – [✔ How to] Anatoly Belaychuk | en:rule:intermediate_event_naming [2024-08-26 21:12] (current) – [0-TBD Intermediate event name should answer the question "what happened?"] Anatoly Belaychuk |
---|
====== 0-TBD Intermediate event name should answer the question "what happened?" ====== | ====== Intermediate event name should answer the question "what happened?" ====== |
| |
{{tag>naming}} | {{tag>naming intermediate_event}} |
| |
{{en:underconstruction.png?nolink&200|}} | This rule is applied to all kinds of intermediate events - throwing, catching and attached. |
| |
Throwing, catching & attached. | |
| |
===== ✔ 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"?> |
| <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="Receive payment"> |
| <messageEventDefinition id="MessageEventDefinition_1acke2j" /> |
| </intermediateCatchEvent> |
| <task id="Activity_0y6rrmj" /> |
| <boundaryEvent id="Event_0sy5cdz" name="Receive payment" 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="Payment status is "received""> |
| <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="Obtain gale warning"> |
| <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="Obtain gale warning" attachedToRef="Activity_0kjgj58"> |
| <outgoing>Flow_0cl0494</outgoing> |
| <signalEventDefinition id="SignalEventDefinition_1n7pn7w" /> |
| </boundaryEvent> |
| <boundaryEvent id="Event_0adwef1" name="Payment status is "received"" 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> |
| |
===== Notes ===== | ===== Notes ===== |
| |
Put extra comments here (this section is optional) | In case of message or signal the names of paired events must match. |
| |
===== Exceptions ===== | |
| |
Specify exceptions to the rule above, if any | |
| |
===== See also ===== | ===== See also ===== |
| |
Reference similar rules here (this section is optional) | * [[start_event_naming]] |
| * [[end_event_naming]] |
===== Author(s) ===== | ===== Author(s) ===== |
| |
--- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// | --- //[[user:bell|Anatoly Belaychuk]] 2024-08-22 21:03// |