1
0
Files
vk-gramatvediba/tools/register-transcoder/sample-output/3.5.3.skeleton.bpmn
Rihards Gailums 66ce42ea37 Spec-conformance fix: correct stub levels and add BPMN-DI
Three corrections grounded in the UAPF SSOT specification (UAPFormat/
UAPF-specification, specification/01-concepts.md, 04-folder-structure.md,
05-level-composition.md, 10-conformance-checklist.md), which had not been
read in full before the initial workspace build.

1. Level relabel. The FG3 sub-process stubs fg3-2, fg3-3 and fg3-6 had
   been marked level: 4 by template inheritance from fg3-1 at Step 4 of
   the build, despite carrying no BPMN and no resources. Per the spec
   conformance checklist this fails the L4 requirement. The three are
   composition placeholders, which the spec models as L3 (composed
   subprocess / variant). Their uapf.yaml is now level: 3 with
   cornerstones.bpmn: false — conformant: L1-L3 packages MUST NOT
   duplicate L4 content. The three real executables fg3-1, fg3-4 and
   fg3-5 remain L4.

2. BPMN Diagram Interchange. All five .bpmn files in the workspace now
   carry a bpmndi:BPMNDiagram with BPMNShape and BPMNEdge elements
   produced by a swim-lane left-to-right auto-layout, so the diagrams
   preview in bpmn.io, Camunda Modeler and ProcessGit's web view. The
   spec doesn't require DI (its own examples have none) but practical
   reviewability does.

3. Transcoder. tools/register-transcoder gains bpmn_di.py — also runnable
   standalone for retrofitting existing BPMN files. transcode.py now
   imports it and emits DI by default for newly generated skeletons.
   sample-output/3.5.2.skeleton.bpmn and 3.5.3.skeleton.bpmn regenerated
   with DI; the logical-model content is byte-identical to the previous
   commit, only DI is added.

docs/methodology.md updated: adds an explicit Workspace-structure section
grounding L0-L4 in the SSOT spec, a Conformance-correction section
documenting the Step-4 mislabel and its fix, and drops the now-untrue
'no DI' line from limitations.

Validation after the change, full L1-L4 sweep: uapf-cli validate green on
all 10 packages (domains/gramatvediba, fg1-fg6, fg3, fg3-1..fg3-6);
xmllint clean on all 8 .bpmn/.dmn; every .bpmn has BPMNDiagram present.
2026-05-20 06:44:14 +00:00

141 lines
9.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" id="Defs_3_5_3" targetNamespace="https://uapf.dev/vk-gramatvediba/transcoded">
<bpmn:process id="Process_3_5_3" name="Komandējuma (darba brauciena) dokumenti un to kustība" isExecutable="false">
<bpmn:laneSet id="LaneSet_3_5_3">
<bpmn:lane id="Lane_VPC" name="VPC (Vienotais pakalpojumu centrs)">
<bpmn:flowNodeRef>Task_3_5_3_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_3_5_3_2</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_3_5_3_4</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Start_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_1</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_2</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_Nodarbinatais" name="Nodarbinātais">
<bpmn:flowNodeRef>Task_3_5_3_3</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Start_2</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_1" name="Ieeja: 3.5.3.2.">
<bpmn:outgoing>Flow_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:startEvent id="Start_2" name="Ieeja: 3.5.3.3.">
<bpmn:outgoing>Flow_2</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_3_5_3_1" name="Komandējuma (darba brauciena) vai tā izmaiņu pieteikuma apstrāde">
<bpmn:documentation>Nr.p.k.: 3.5.3.1. | RACI: VPC=R
VPC, saņemot pieteikumu par komandējumu vai tā izmaiņām, veic pieteikuma apstrādi komandējuma dokumentos saskaņā ar Horizon projektējumā norādīto.
Ja Nodarbinātajam komandējuma vajadzībām ir piešķirta Iestādei piesaistītā norēķinu karte, tad izmaksas tiek veiktas uz Iestādei piesaistīto norēķinu karti, pārējos gadījumos - uz darbinieka algas kontu.
Sistēma: RVS Horizon | Izpildes termiņš: ne vēlāk kā 2 dd pirms attiecīgā komandējuma iestāšanās brīža par dienas naudu 3 dd laikā no apstiprinātas pieteikuma saņemšanas, ja avanss pieprasīts citiem komandējuma izdevumiem
Ārējais priekštecis: PP/5.1.2, PP/5.1.3.3
Ārējais pēctecis: FG2/2.3.2</bpmn:documentation>
<bpmn:incoming>Flow_4</bpmn:incoming>
<bpmn:outgoing>Flow_5</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_3_5_3_2" name="Komandējuma (darba brauciena) pieteikuma anulēšana">
<bpmn:documentation>Nr.p.k.: 3.5.3.2. | RACI: VPC=R
VPC saskaņā ar Horizon projektējumā norādīto, saņemot informāciju par komandējuma atcelšanu, anulē pieteikumu un pārbauda veiktās izmaksas. Izmaksu gadījumā tālāk rīkojas atbilstoši komandējuma pieteikumā norādītajam.
Sistēma: RVS Horizon | Izpildes termiņš: 3 dd laikā no informācijas saņemšanas | Sagatavotie dati: Pieteikums Pašapkalpošanās portālā
Ārējais priekštecis: PP/5.1.3.3
Ārējais pēctecis: FG3/3.5.4.1, FG4/4.3.1</bpmn:documentation>
<bpmn:incoming>Flow_1</bpmn:incoming>
<bpmn:outgoing>Flow_6</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_3_5_3_3" name="Komandējuma (darba brauciena) izdevumu atskaites iesniegšana">
<bpmn:documentation>Nr.p.k.: 3.5.3.3. | RACI: Nodarbinātais=R; Iestāde=R; VPC=I
Iestādes Nodarbinātais vai Iestāde (tajā gadījumā, ja komandējumā nosūtīta persona, kas nav Iestādes Nodarbinātais) iesniedz komandējuma atskaiti Pašapkalpošanās portālā (HoP lietotnē Komandējumi), audzēkņiem izmanto izdevuma veidu "Mācību mobilitātes projektu izmaksas". Atskaite jāiesniedz arī gadījumos, ja nav radušies papildus izdevumi.Ja tika pieteikts grupas komandējums atskaite ir jāiesniedz par katru komandēto personu.
Atkārtoti dimensijas pieteikumā nenorāda, jo piesakot komandējumu pie "Plānotiem izdevumiem" kā obligāta ir jānorāda dimensija "Finasējums", savukārt pārējos dimensiju laukus sagatavo, ja atbilstoši konkrētās iestādes uzskaites procesiem.
Saskaņošana notiek Iestādes definētā plūsmā.
Atskaite jāiesniedz arī gadījumos, ja nav radušies papildus izdevumi.
Sistēma: Pašapkalpošanās portāls | Izpildes termiņš: 10 dd laikā pēc atgriešanās no komandējuma, ja ir prombūtne, termiņš pagarinās par prombūtnes periodu | Sagatavotie dati: Komandējuma atskaite - avansa izdevumu dokuments
Ārējais priekštecis: FG2/2.3.4</bpmn:documentation>
<bpmn:incoming>Flow_2</bpmn:incoming>
<bpmn:outgoing>Flow_3</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_3_5_3_4" name="Komandējuma (darba brauciena) atskaites apstrāde">
<bpmn:documentation>Nr.p.k.: 3.5.3.4. | RACI: VPC=R
VPC saskaņā ar Horizon projektējumā norādīto, saņemot informāciju par komandējuma izdevumu atskaiti, veic atskaites apstrādi komandējuma dokumentos vai avansa norēķina dokumentos un nepieciešamības gadījumā atzīst prasības pret uzaicinātājpusi.
Pēc izdevumu apliecinošo dokumentu apstrādes VPC pārliecinās vai iesniegtie attaisnojuma izdevumi nosedz iepriekš saņemto avansu un gadījumos, kad izmaksātais avanss pārsniedz iesniegtos attaisnojuma izdevumus un Nodarbinātajam ir apstiprināts nākamais komandējums no tā paša finansējuma, tad avansa atlikums tiek saglabāts uz nākamo apstiprināto komandējumu, bet citos gadījumos VPC tālāk rīkojas atbilstoši komandējuma pieteikumā norādītajam.
Sistēma: RVS Horizon | Izpildes termiņš: *3 dd laikā no atskaites apstiprināšanas, kas apstiprināta līdz plkst.15.00 | Sagatavotie dati: Komandējuma atskaite - avansa izdevumu dokuments
Ārējais pēctecis: FG3/3.5.4.1, FG2/2.3.2, FG6/6.2.1.1, FG6/6.2.1.3</bpmn:documentation>
<bpmn:incoming>Flow_3</bpmn:incoming>
<bpmn:outgoing>Flow_4</bpmn:outgoing>
</bpmn:userTask>
<bpmn:endEvent id="End_1" name="Izeja: 3.5.3.1.">
<bpmn:incoming>Flow_5</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="End_2" name="Izeja: 3.5.3.2.">
<bpmn:incoming>Flow_6</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1" sourceRef="Start_1" targetRef="Task_3_5_3_2"/>
<bpmn:sequenceFlow id="Flow_2" sourceRef="Start_2" targetRef="Task_3_5_3_3"/>
<bpmn:sequenceFlow id="Flow_3" sourceRef="Task_3_5_3_3" targetRef="Task_3_5_3_4"/>
<bpmn:sequenceFlow id="Flow_4" sourceRef="Task_3_5_3_4" targetRef="Task_3_5_3_1"/>
<bpmn:sequenceFlow id="Flow_5" sourceRef="Task_3_5_3_1" targetRef="End_1"/>
<bpmn:sequenceFlow id="Flow_6" sourceRef="Task_3_5_3_2" targetRef="End_2"/>
</bpmn:process>
<bpmndi:BPMNDiagram 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="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_3_5_3">
<bpmndi:BPMNShape id="Shape_Lane_VPC" bpmnElement="Lane_VPC" isHorizontal="true">
<dc:Bounds x="30" y="40" width="950" height="180"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Lane_Nodarbinatais" bpmnElement="Lane_Nodarbinatais" isHorizontal="true">
<dc:Bounds x="30" y="220" width="950" height="180"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Start_1" bpmnElement="Start_1">
<dc:Bounds x="122" y="112" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Start_2" bpmnElement="Start_2">
<dc:Bounds x="122" y="292" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_End_1" bpmnElement="End_1">
<dc:Bounds x="802" y="112" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_End_2" bpmnElement="End_2">
<dc:Bounds x="462" y="77" width="36" height="36"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_3_1" bpmnElement="Task_3_5_3_1">
<dc:Bounds x="600" y="90" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_3_2" bpmnElement="Task_3_5_3_2">
<dc:Bounds x="260" y="90" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_3_3" bpmnElement="Task_3_5_3_3">
<dc:Bounds x="260" y="270" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Shape_Task_3_5_3_4" bpmnElement="Task_3_5_3_4">
<dc:Bounds x="430" y="125" width="100" height="80"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Edge_Flow_1" bpmnElement="Flow_1">
<di:waypoint x="158" y="130"/>
<di:waypoint x="260" y="130"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_2" bpmnElement="Flow_2">
<di:waypoint x="158" y="310"/>
<di:waypoint x="260" y="310"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_3" bpmnElement="Flow_3">
<di:waypoint x="360" y="310"/>
<di:waypoint x="395" y="310"/>
<di:waypoint x="395" y="165"/>
<di:waypoint x="430" y="165"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_4" bpmnElement="Flow_4">
<di:waypoint x="530" y="165"/>
<di:waypoint x="565" y="165"/>
<di:waypoint x="565" y="130"/>
<di:waypoint x="600" y="130"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_5" bpmnElement="Flow_5">
<di:waypoint x="700" y="130"/>
<di:waypoint x="802" y="130"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Edge_Flow_6" bpmnElement="Flow_6">
<di:waypoint x="360" y="130"/>
<di:waypoint x="411" y="130"/>
<di:waypoint x="411" y="95"/>
<di:waypoint x="462" y="95"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>