Files
data-meta-model/generated/bpmn/R1.bpmn
T

132 lines
6.2 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:pr="https://ontology.pernod-ricard.com/process/" id="defs_R1" targetNamespace="https://ontology.pernod-ricard.com/process/" exporter="generate_bpmn.py">
<bpmn:process id="R1" name="Verify the vocabulary against the rulebook" isExecutable="false">
<bpmn:documentation>Verify the vocabulary against the rulebook | Scope: The whole vocabulary, or the subset touched by a change. | Trigger: A term has been created, changed or withdrawn, or a release is prepared.</bpmn:documentation>
<bpmn:startEvent id="start" name="Verification requested">
<bpmn:outgoing>flow_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:scriptTask id="script" name="Run the naming and declaration checks">
<bpmn:extensionElements>
<pr:rules>
<pr:rule>TN-001</pr:rule>
<pr:rule>TN-002</pr:rule>
<pr:rule>TN-003</pr:rule>
<pr:rule>TN-004</pr:rule>
<pr:rule>TN-005</pr:rule>
<pr:rule>TN-006</pr:rule>
<pr:rule>TN-007</pr:rule>
<pr:rule>TN-009</pr:rule>
<pr:rule>TN-010</pr:rule>
<pr:rule>TN-011</pr:rule>
<pr:rule>TN-012</pr:rule>
<pr:rule>TN-013</pr:rule>
<pr:rule>TN-014</pr:rule>
<pr:rule>TN-015</pr:rule>
<pr:rule>TN-017</pr:rule>
<pr:rule>TN-018</pr:rule>
<pr:rule>TN-019</pr:rule>
<pr:rule>TN-020</pr:rule>
<pr:rule>TN-021</pr:rule>
<pr:rule>TN-023</pr:rule>
<pr:rule>TN-025</pr:rule>
<pr:rule>TN-026</pr:rule>
<pr:rule>TN-027</pr:rule>
<pr:rule>TN-028</pr:rule>
<pr:rule>EV-014</pr:rule>
</pr:rules>
</bpmn:extensionElements>
<bpmn:incoming>flow_1</bpmn:incoming>
<bpmn:outgoing>flow_2</bpmn:outgoing>
</bpmn:scriptTask>
<bpmn:exclusiveGateway id="mechanised" name="Any mechanised violation?">
<bpmn:incoming>flow_2</bpmn:incoming>
<bpmn:outgoing>flow_3</bpmn:outgoing>
<bpmn:outgoing>flow_4</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="report_fail" name="Report returned with violations">
<bpmn:incoming>flow_3</bpmn:incoming>
<bpmn:incoming>flow_6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:userTask id="human" name="Review the rules no script can judge">
<bpmn:extensionElements>
<pr:rules>
<pr:rule>TN-008</pr:rule>
<pr:rule>TN-016</pr:rule>
<pr:rule>TN-022</pr:rule>
<pr:rule>TN-024</pr:rule>
</pr:rules>
</bpmn:extensionElements>
<bpmn:incoming>flow_4</bpmn:incoming>
<bpmn:outgoing>flow_5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="judged" name="Reviewer raises an issue?">
<bpmn:incoming>flow_5</bpmn:incoming>
<bpmn:outgoing>flow_6</bpmn:outgoing>
<bpmn:outgoing>flow_7</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="report_ok" name="Vocabulary conforms">
<bpmn:incoming>flow_7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="flow_1" sourceRef="start" targetRef="script" />
<bpmn:sequenceFlow id="flow_2" sourceRef="script" targetRef="mechanised" />
<bpmn:sequenceFlow id="flow_3" name="at least one" sourceRef="mechanised" targetRef="report_fail" />
<bpmn:sequenceFlow id="flow_4" name="none" sourceRef="mechanised" targetRef="human" />
<bpmn:sequenceFlow id="flow_5" sourceRef="human" targetRef="judged" />
<bpmn:sequenceFlow id="flow_6" name="yes" sourceRef="judged" targetRef="report_fail" />
<bpmn:sequenceFlow id="flow_7" name="no" sourceRef="judged" targetRef="report_ok" />
</bpmn:process>
<bpmndi:BPMNDiagram id="diagram_R1">
<bpmndi:BPMNPlane id="plane_R1" bpmnElement="R1">
<bpmndi:BPMNShape id="shape_start" bpmnElement="start">
<dc:Bounds x="60" y="80" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_script" bpmnElement="script">
<dc:Bounds x="260" y="80" width="150" height="70" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_mechanised" bpmnElement="mechanised">
<dc:Bounds x="460" y="80" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_report_fail" bpmnElement="report_fail">
<dc:Bounds x="1060" y="80" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_human" bpmnElement="human">
<dc:Bounds x="660" y="80" width="150" height="70" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_judged" bpmnElement="judged">
<dc:Bounds x="860" y="80" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="shape_report_ok" bpmnElement="report_ok">
<dc:Bounds x="1060" y="210" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="edge_flow_1" bpmnElement="flow_1">
<di:waypoint x="96" y="98" />
<di:waypoint x="260" y="115" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_2" bpmnElement="flow_2">
<di:waypoint x="410" y="115" />
<di:waypoint x="460" y="105" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_3" bpmnElement="flow_3">
<di:waypoint x="510" y="105" />
<di:waypoint x="1060" y="98" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_4" bpmnElement="flow_4">
<di:waypoint x="510" y="105" />
<di:waypoint x="660" y="115" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_5" bpmnElement="flow_5">
<di:waypoint x="810" y="115" />
<di:waypoint x="860" y="105" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_6" bpmnElement="flow_6">
<di:waypoint x="910" y="105" />
<di:waypoint x="1060" y="98" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="edge_flow_7" bpmnElement="flow_7">
<di:waypoint x="910" y="105" />
<di:waypoint x="1060" y="228" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>