153 lines
7.2 KiB
XML
153 lines
7.2 KiB
XML
|
|
<?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_C2" targetNamespace="https://ontology.pernod-ricard.com/process/" exporter="generate_bpmn.py">
|
||
|
|
<bpmn:process id="C2" name="Create a controlled value" isExecutable="false">
|
||
|
|
<bpmn:documentation>Create a controlled value | Scope: typed individual | literal | Trigger: A new value is needed in a controlled set.</bpmn:documentation>
|
||
|
|
<bpmn:startEvent id="start" name="New value needed">
|
||
|
|
<bpmn:outgoing>flow_1</bpmn:outgoing>
|
||
|
|
</bpmn:startEvent>
|
||
|
|
<bpmn:userTask id="decide" name="Must it be defined, owned or extended by a domain?">
|
||
|
|
<bpmn:extensionElements>
|
||
|
|
<pr:rules>
|
||
|
|
<pr:rule>TN-016</pr:rule>
|
||
|
|
</pr:rules>
|
||
|
|
</bpmn:extensionElements>
|
||
|
|
<bpmn:incoming>flow_1</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_2</bpmn:outgoing>
|
||
|
|
</bpmn:userTask>
|
||
|
|
<bpmn:exclusiveGateway id="form" name="Which form?">
|
||
|
|
<bpmn:incoming>flow_2</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_3</bpmn:outgoing>
|
||
|
|
<bpmn:outgoing>flow_4</bpmn:outgoing>
|
||
|
|
</bpmn:exclusiveGateway>
|
||
|
|
<bpmn:scriptTask id="indiv" name="Create the typed individual and derive its label">
|
||
|
|
<bpmn:extensionElements>
|
||
|
|
<pr:rules>
|
||
|
|
<pr:rule>TN-001</pr:rule>
|
||
|
|
<pr:rule>TN-018</pr:rule>
|
||
|
|
<pr:rule>TN-022</pr:rule>
|
||
|
|
</pr:rules>
|
||
|
|
</bpmn:extensionElements>
|
||
|
|
<bpmn:incoming>flow_3</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_5</bpmn:outgoing>
|
||
|
|
</bpmn:scriptTask>
|
||
|
|
<bpmn:scriptTask id="literal" name="Write the literal in upper snake case">
|
||
|
|
<bpmn:extensionElements>
|
||
|
|
<pr:rules>
|
||
|
|
<pr:rule>TN-017</pr:rule>
|
||
|
|
</pr:rules>
|
||
|
|
</bpmn:extensionElements>
|
||
|
|
<bpmn:incoming>flow_4</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_6</bpmn:outgoing>
|
||
|
|
</bpmn:scriptTask>
|
||
|
|
<bpmn:callActivity id="shape" name="Extend the closed list in the shapes" calledElement="C3">
|
||
|
|
<bpmn:incoming>flow_6</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_7</bpmn:outgoing>
|
||
|
|
</bpmn:callActivity>
|
||
|
|
<bpmn:userTask id="validate" name="Validate before applying">
|
||
|
|
<bpmn:extensionElements>
|
||
|
|
<pr:rules>
|
||
|
|
<pr:rule>EV-004</pr:rule>
|
||
|
|
</pr:rules>
|
||
|
|
</bpmn:extensionElements>
|
||
|
|
<bpmn:incoming>flow_5</bpmn:incoming>
|
||
|
|
<bpmn:incoming>flow_7</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_8</bpmn:outgoing>
|
||
|
|
</bpmn:userTask>
|
||
|
|
<bpmn:callActivity id="check" name="Verify against the rulebook" calledElement="R1">
|
||
|
|
<bpmn:incoming>flow_8</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_9</bpmn:outgoing>
|
||
|
|
</bpmn:callActivity>
|
||
|
|
<bpmn:callActivity id="release" name="Propagate and publish" calledElement="X1">
|
||
|
|
<bpmn:incoming>flow_9</bpmn:incoming>
|
||
|
|
<bpmn:outgoing>flow_10</bpmn:outgoing>
|
||
|
|
</bpmn:callActivity>
|
||
|
|
<bpmn:endEvent id="end" name="Value available">
|
||
|
|
<bpmn:incoming>flow_10</bpmn:incoming>
|
||
|
|
</bpmn:endEvent>
|
||
|
|
<bpmn:sequenceFlow id="flow_1" sourceRef="start" targetRef="decide" />
|
||
|
|
<bpmn:sequenceFlow id="flow_2" sourceRef="decide" targetRef="form" />
|
||
|
|
<bpmn:sequenceFlow id="flow_3" name="extensible by a domain" sourceRef="form" targetRef="indiv" />
|
||
|
|
<bpmn:sequenceFlow id="flow_4" name="closed governance state" sourceRef="form" targetRef="literal" />
|
||
|
|
<bpmn:sequenceFlow id="flow_5" sourceRef="indiv" targetRef="validate" />
|
||
|
|
<bpmn:sequenceFlow id="flow_6" sourceRef="literal" targetRef="shape" />
|
||
|
|
<bpmn:sequenceFlow id="flow_7" sourceRef="shape" targetRef="validate" />
|
||
|
|
<bpmn:sequenceFlow id="flow_8" sourceRef="validate" targetRef="check" />
|
||
|
|
<bpmn:sequenceFlow id="flow_9" sourceRef="check" targetRef="release" />
|
||
|
|
<bpmn:sequenceFlow id="flow_10" sourceRef="release" targetRef="end" />
|
||
|
|
</bpmn:process>
|
||
|
|
<bpmndi:BPMNDiagram id="diagram_C2">
|
||
|
|
<bpmndi:BPMNPlane id="plane_C2" bpmnElement="C2">
|
||
|
|
<bpmndi:BPMNShape id="shape_start" bpmnElement="start">
|
||
|
|
<dc:Bounds x="60" y="80" width="36" height="36" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_decide" bpmnElement="decide">
|
||
|
|
<dc:Bounds x="260" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_form" bpmnElement="form">
|
||
|
|
<dc:Bounds x="460" y="80" width="50" height="50" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_indiv" bpmnElement="indiv">
|
||
|
|
<dc:Bounds x="660" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_literal" bpmnElement="literal">
|
||
|
|
<dc:Bounds x="660" y="210" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_shape" bpmnElement="shape">
|
||
|
|
<dc:Bounds x="860" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_validate" bpmnElement="validate">
|
||
|
|
<dc:Bounds x="1060" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_check" bpmnElement="check">
|
||
|
|
<dc:Bounds x="1260" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_release" bpmnElement="release">
|
||
|
|
<dc:Bounds x="1460" y="80" width="150" height="70" />
|
||
|
|
</bpmndi:BPMNShape>
|
||
|
|
<bpmndi:BPMNShape id="shape_end" bpmnElement="end">
|
||
|
|
<dc:Bounds x="1660" y="80" 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="660" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_4" bpmnElement="flow_4">
|
||
|
|
<di:waypoint x="510" y="105" />
|
||
|
|
<di:waypoint x="660" y="245" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_5" bpmnElement="flow_5">
|
||
|
|
<di:waypoint x="810" y="115" />
|
||
|
|
<di:waypoint x="1060" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_6" bpmnElement="flow_6">
|
||
|
|
<di:waypoint x="810" y="245" />
|
||
|
|
<di:waypoint x="860" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_7" bpmnElement="flow_7">
|
||
|
|
<di:waypoint x="1010" y="115" />
|
||
|
|
<di:waypoint x="1060" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_8" bpmnElement="flow_8">
|
||
|
|
<di:waypoint x="1210" y="115" />
|
||
|
|
<di:waypoint x="1260" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_9" bpmnElement="flow_9">
|
||
|
|
<di:waypoint x="1410" y="115" />
|
||
|
|
<di:waypoint x="1460" y="115" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
<bpmndi:BPMNEdge id="edge_flow_10" bpmnElement="flow_10">
|
||
|
|
<di:waypoint x="1610" y="115" />
|
||
|
|
<di:waypoint x="1660" y="98" />
|
||
|
|
</bpmndi:BPMNEdge>
|
||
|
|
</bpmndi:BPMNPlane>
|
||
|
|
</bpmndi:BPMNDiagram>
|
||
|
|
</bpmn:definitions>
|