Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:rule:process_naming [2024-08-27 11:57] – [✘ How NOT to] Anatoly Belaychuken:rule:process_naming [2024-08-27 13:20] (current) – [Notes] Anatoly Belaychuk
Line 1: Line 1:
-====== 0-TBD Name process as a service ======+====== Name process as a service ======
  
 {{tag>process naming}} {{tag>process naming}}
  
-{{en:underconstruction.png?nolink&200|}} +Process name should present it to the consumer.
- +
-Put rule description here +
 ===== ✔ How to ===== ===== ✔ How to =====
  
-Put patterns (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" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="http://bpmn.io" exporterVersion="0.10.1"> 
 +  <collaboration id="Collaboration_1l9aqsb"> 
 +    <participant id="Participant_1wl0m5x" name="Monthly production planning" processRef="Process_1jsnw7v" /> 
 +    <participant id="Participant_1v0xp0y" name="Scheduled maintenance" processRef="Process_0xmc2mn" /> 
 +    <participant id="Participant_01xzk99" name="Export sale of petrochemical products" processRef="Process_1xxgtsq" /> 
 +    <participant id="Participant_01kzgyn" name="Quarterly tax reporting" processRef="Process_1gkxcw1" /> 
 +  </collaboration> 
 +  <process id="Process_1jsnw7v" /> 
 +  <process id="Process_0xmc2mn" /> 
 +  <process id="Process_1xxgtsq" /> 
 +  <process id="Process_1gkxcw1" /> 
 +  <bpmndi:BPMNDiagram id="BPMNDiagram_1"> 
 +    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1l9aqsb"> 
 +      <bpmndi:BPMNShape id="Participant_1wl0m5x_di" bpmnElement="Participant_1wl0m5x" isHorizontal="true"> 
 +        <omgdc:Bounds x="220" y="50" width="300" height="250" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Participant_01xzk99_di" bpmnElement="Participant_01xzk99" isHorizontal="true"> 
 +        <omgdc:Bounds x="-150" y="50" width="300" height="250" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Participant_1v0xp0y_di" bpmnElement="Participant_1v0xp0y" isHorizontal="true"> 
 +        <omgdc:Bounds x="-150" y="360" width="300" height="250" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +      <bpmndi:BPMNShape id="Participant_01kzgyn_di" bpmnElement="Participant_01kzgyn" isHorizontal="true"> 
 +        <omgdc:Bounds x="220" y="360" width="300" height="250" /> 
 +        <bpmndi:BPMNLabel /> 
 +      </bpmndi:BPMNShape> 
 +    </bpmndi:BPMNPlane> 
 +  </bpmndi:BPMNDiagram> 
 +</definitions> 
 +</bpmnio>
  
 ===== ✘ How NOT to ===== ===== ✘ How NOT to =====
Line 15: Line 46:
 <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="Quarterly reporting processprocessRef="Process_1" /
-    xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" +    <participant id="Participant_1tztx53" name="Perform scheduled maintenance" 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">Put antipattern (BPMN diagrams) here +
-  <bpmn:process id="Process_1isExecutable="false"> +
-    <bpmn:startEvent id="StartEvent_1" /> +
-  </bpmn:process>+
   <bpmndi:BPMNDiagram id="BPMNDiagram_1">   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
-    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1"> +    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0zvoi7x"> 
-      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> +      <bpmndi:BPMNShape id="Participant_1452cpf_di" bpmnElement="Participant_1452cpf" isHorizontal="true"> 
-        <dc:Bounds x="156" y="82" width="36" height="36" />+        <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:BPMNShape>
     </bpmndi:BPMNPlane>     </bpmndi:BPMNPlane>
Line 38: Line 70:
 ===== Notes ===== ===== Notes =====
  
-Put extra comments here (this section is optional) +  * Don't use the task name template for a process name 
 +  * Don't use the word "process" in a process name 
 +  * Acceptable alternative naming style is "... to ...", see [[#exceptions]]
 ===== Exceptions ===== ===== Exceptions =====
  
-Specify exceptions to the rule above, if any +<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="Order to cash" processRef="Process_1" /> 
 +    <participant id="Participant_1tztx53" name="Claim to resolution" 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>
 ===== See also ===== ===== See also =====
  
-Reference similar rules here (this section is optional) +  * [[task_naming]] 
 +  * [[subprocess_naming]]
 ===== Author(s) ===== ===== Author(s) =====
  
  --- //[[user:bell|Anatoly Belaychuk]] 2024-08-27 11:55//  --- //[[user:bell|Anatoly Belaychuk]] 2024-08-27 11:55//