1
0
Files
Rihards 741f7d796d Add diagram interchange (DI) to cornerstone BPMN
UAPF-specification v2.1.0 makes cornerstone diagram interchange mandatory
(SEM-011). This file was hand-authored as logic only, with no
<bpmndi:BPMNDiagram>, so it could not render in any OMG modeler/viewer.

Adds the bpmndi/dc/di namespace declarations and a complete BPMNDiagram
with authored shapes (10) and edges (9) — a deterministic linear layout.
The <bpmn:process> logic is byte-identical; only DI was added.
2026-05-17 12:49:25 +00:00

131 lines
5.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:uapf="https://uapf.dev/spec"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
id="Definitions_IesniegumaIzskatisana"
targetNamespace="https://processgit.org/lv/tiesibsargs">
<bpmn:process id="iesnieguma-izskatisana" name="Iesnieguma izskatīšanas process" isExecutable="true">
<bpmn:startEvent id="Start" name="Iesniegums saņemts"/>
<bpmn:serviceTask id="FetchDocument"
name="Saņemt dokumentu no DMS"
uapf:capability="document.fetch@1"/>
<bpmn:serviceTask id="RedactPii"
name="Maskēt personas datus pirms AI apstrādes"
uapf:capability="ai.redact@1"/>
<bpmn:serviceTask id="ExtractFacets"
name="Izvilkt strukturētus faktus ar AI"
uapf:capability="ai.extract@1"/>
<bpmn:businessRuleTask id="ClassifyTopic"
name="Klasificēt tematu"
uapf:decision="classify-topic"/>
<bpmn:businessRuleTask id="DeterminePriority"
name="Noteikt prioritāti"
uapf:decision="determine-priority"/>
<bpmn:businessRuleTask id="RouteToDepartment"
name="Maršrutēt uz nodaļu"
uapf:decision="route-to-department"/>
<bpmn:serviceTask id="RecordClassification"
name="Saglabāt klasifikācijas ierakstu"
uapf:capability="data.write@1"/>
<bpmn:serviceTask id="EmitClassifiedEvent"
name="Publicēt notikumu 'iesniegums klasificēts'"
uapf:capability="event.emit@1"/>
<bpmn:endEvent id="End" name="Klasifikācija pabeigta"/>
<bpmn:sequenceFlow id="f1" sourceRef="Start" targetRef="FetchDocument"/>
<bpmn:sequenceFlow id="f2" sourceRef="FetchDocument" targetRef="RedactPii"/>
<bpmn:sequenceFlow id="f3" sourceRef="RedactPii" targetRef="ExtractFacets"/>
<bpmn:sequenceFlow id="f4" sourceRef="ExtractFacets" targetRef="ClassifyTopic"/>
<bpmn:sequenceFlow id="f5" sourceRef="ClassifyTopic" targetRef="DeterminePriority"/>
<bpmn:sequenceFlow id="f6" sourceRef="DeterminePriority" targetRef="RouteToDepartment"/>
<bpmn:sequenceFlow id="f7" sourceRef="RouteToDepartment" targetRef="RecordClassification"/>
<bpmn:sequenceFlow id="f8" sourceRef="RecordClassification" targetRef="EmitClassifiedEvent"/>
<bpmn:sequenceFlow id="f9" sourceRef="EmitClassifiedEvent" targetRef="End"/>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="iesnieguma-izskatisana">
<bpmndi:BPMNShape id="Start_di" bpmnElement="Start">
<dc:Bounds x="152" y="102" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="FetchDocument_di" bpmnElement="FetchDocument">
<dc:Bounds x="240" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="RedactPii_di" bpmnElement="RedactPii">
<dc:Bounds x="400" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ExtractFacets_di" bpmnElement="ExtractFacets">
<dc:Bounds x="560" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="ClassifyTopic_di" bpmnElement="ClassifyTopic">
<dc:Bounds x="720" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DeterminePriority_di" bpmnElement="DeterminePriority">
<dc:Bounds x="880" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="RouteToDepartment_di" bpmnElement="RouteToDepartment">
<dc:Bounds x="1040" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="RecordClassification_di" bpmnElement="RecordClassification">
<dc:Bounds x="1200" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EmitClassifiedEvent_di" bpmnElement="EmitClassifiedEvent">
<dc:Bounds x="1360" y="80" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_di" bpmnElement="End">
<dc:Bounds x="1520" y="102" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="f1_di" bpmnElement="f1">
<di:waypoint x="188" y="120"/>
<di:waypoint x="240" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f2_di" bpmnElement="f2">
<di:waypoint x="340" y="120"/>
<di:waypoint x="400" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f3_di" bpmnElement="f3">
<di:waypoint x="500" y="120"/>
<di:waypoint x="560" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f4_di" bpmnElement="f4">
<di:waypoint x="660" y="120"/>
<di:waypoint x="720" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f5_di" bpmnElement="f5">
<di:waypoint x="820" y="120"/>
<di:waypoint x="880" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f6_di" bpmnElement="f6">
<di:waypoint x="980" y="120"/>
<di:waypoint x="1040" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f7_di" bpmnElement="f7">
<di:waypoint x="1140" y="120"/>
<di:waypoint x="1200" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f8_di" bpmnElement="f8">
<di:waypoint x="1300" y="120"/>
<di:waypoint x="1360" y="120"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="f9_di" bpmnElement="f9">
<di:waypoint x="1460" y="120"/>
<di:waypoint x="1520" y="120"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>