Jedes Modell bekommt einen eigenen Ordner mit Steckbrief (README.md, Status Entwurf|abgenommen), der maßgeblichen Arbeitsschritt-.md und der daraus erzeugten .bpmn (ADR 0003). - scripts/pruefe_prozesse.py prüft Ordnername, Dateien, Status und ob jede .bpmn byte-gleich mit der Umwandlung ihrer .md ist; --erzeugen erzeugt alle .bpmn neu. md_to_bpmn.py arbeitet deterministisch. - tests/test_pruefe_prozesse.py: Bestandsprüfung plus 11 Fälle für die Prüflogik; pytest.ini sammelt .agents/skills und tests. - Die in Anleitung.md genannten, nie committeten Beispiele liegen jetzt unter .agents/skills/sn-bpmn/beispiele/ und werden mitgeprüft. - Skill sn-bpmn: Entwürfe nach entwuerfe/, neuer Schritt 5 „Ablegen“. - Vorlage docs/vorlagen/prozess_readme.md, Doku und Fallstricke ergänzt. - Tests: python -m pytest -q -> 44 bestanden. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
172 lines
8.0 KiB
XML
172 lines
8.0 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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://picture-tool.local/bpmn" exporter="md_to_bpmn.py">
|
|
<bpmn:process id="Process_1" name="Antrag prüfen (Beispiel)" isExecutable="false">
|
|
<bpmn:startEvent id="StartEvent_S1" name="Antrag geht ein">
|
|
<bpmn:outgoing>Flow_1</bpmn:outgoing>
|
|
<bpmn:messageEventDefinition id="StartEvent_S1_ed"/>
|
|
</bpmn:startEvent>
|
|
<bpmn:task id="Task_S2" name="Antrag erfassen">
|
|
<bpmn:incoming>Flow_1</bpmn:incoming>
|
|
<bpmn:incoming>Flow_5</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_2</bpmn:outgoing>
|
|
</bpmn:task>
|
|
<bpmn:exclusiveGateway id="Gateway_S3" name="Antrag vollständig?">
|
|
<bpmn:incoming>Flow_2</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_3</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_4</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:sendTask id="SendTask_S4" name="Unterlagen nachfordern">
|
|
<bpmn:incoming>Flow_4</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_5</bpmn:outgoing>
|
|
</bpmn:sendTask>
|
|
<bpmn:task id="Task_S5" name="Antrag fachlich prüfen">
|
|
<bpmn:incoming>Flow_3</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_6</bpmn:outgoing>
|
|
</bpmn:task>
|
|
<bpmn:exclusiveGateway id="Gateway_S6" name="Antrag begründet?">
|
|
<bpmn:incoming>Flow_6</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_7</bpmn:outgoing>
|
|
<bpmn:outgoing>Flow_8</bpmn:outgoing>
|
|
</bpmn:exclusiveGateway>
|
|
<bpmn:task id="Task_S7" name="Bewilligung vorbereiten">
|
|
<bpmn:incoming>Flow_7</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_9</bpmn:outgoing>
|
|
</bpmn:task>
|
|
<bpmn:task id="Task_S8" name="Ablehnung vorbereiten">
|
|
<bpmn:incoming>Flow_8</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_10</bpmn:outgoing>
|
|
</bpmn:task>
|
|
<bpmn:sendTask id="SendTask_S9" name="Bescheid versenden">
|
|
<bpmn:incoming>Flow_9</bpmn:incoming>
|
|
<bpmn:incoming>Flow_10</bpmn:incoming>
|
|
<bpmn:outgoing>Flow_11</bpmn:outgoing>
|
|
</bpmn:sendTask>
|
|
<bpmn:endEvent id="EndEvent_S10" name="Antrag entschieden">
|
|
<bpmn:incoming>Flow_11</bpmn:incoming>
|
|
</bpmn:endEvent>
|
|
<bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_S1" targetRef="Task_S2"/>
|
|
<bpmn:sequenceFlow id="Flow_2" sourceRef="Task_S2" targetRef="Gateway_S3"/>
|
|
<bpmn:sequenceFlow id="Flow_3" sourceRef="Gateway_S3" targetRef="Task_S5" name="Ja"/>
|
|
<bpmn:sequenceFlow id="Flow_4" sourceRef="Gateway_S3" targetRef="SendTask_S4" name="Nein"/>
|
|
<bpmn:sequenceFlow id="Flow_5" sourceRef="SendTask_S4" targetRef="Task_S2"/>
|
|
<bpmn:sequenceFlow id="Flow_6" sourceRef="Task_S5" targetRef="Gateway_S6"/>
|
|
<bpmn:sequenceFlow id="Flow_7" sourceRef="Gateway_S6" targetRef="Task_S7" name="Ja"/>
|
|
<bpmn:sequenceFlow id="Flow_8" sourceRef="Gateway_S6" targetRef="Task_S8" name="Nein"/>
|
|
<bpmn:sequenceFlow id="Flow_9" sourceRef="Task_S7" targetRef="SendTask_S9"/>
|
|
<bpmn:sequenceFlow id="Flow_10" sourceRef="Task_S8" targetRef="SendTask_S9"/>
|
|
<bpmn:sequenceFlow id="Flow_11" sourceRef="SendTask_S9" targetRef="EndEvent_S10"/>
|
|
</bpmn:process>
|
|
<bpmndi:BPMNDiagram id="Diagram_1">
|
|
<bpmndi:BPMNPlane id="Plane_1" bpmnElement="Process_1">
|
|
<bpmndi:BPMNShape id="StartEvent_S1_di" bpmnElement="StartEvent_S1">
|
|
<dc:Bounds x="165" y="80" width="36" height="36"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_S2_di" bpmnElement="Task_S2">
|
|
<dc:Bounds x="165" y="250" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_S3_di" bpmnElement="Gateway_S3">
|
|
<dc:Bounds x="165" y="420" width="50" height="50"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="SendTask_S4_di" bpmnElement="SendTask_S4">
|
|
<dc:Bounds x="80" y="590" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_S5_di" bpmnElement="Task_S5">
|
|
<dc:Bounds x="250" y="590" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Gateway_S6_di" bpmnElement="Gateway_S6">
|
|
<dc:Bounds x="165" y="760" width="50" height="50"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_S7_di" bpmnElement="Task_S7">
|
|
<dc:Bounds x="80" y="930" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="Task_S8_di" bpmnElement="Task_S8">
|
|
<dc:Bounds x="250" y="930" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="SendTask_S9_di" bpmnElement="SendTask_S9">
|
|
<dc:Bounds x="165" y="1100" width="100" height="80"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="EndEvent_S10_di" bpmnElement="EndEvent_S10">
|
|
<dc:Bounds x="165" y="1270" width="36" height="36"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
|
|
<di:waypoint x="183" y="116"/>
|
|
<di:waypoint x="183" y="183"/>
|
|
<di:waypoint x="215" y="183"/>
|
|
<di:waypoint x="215" y="250"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
|
|
<di:waypoint x="215" y="330"/>
|
|
<di:waypoint x="215" y="395"/>
|
|
<di:waypoint x="190" y="395"/>
|
|
<di:waypoint x="190" y="420"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_3_di" bpmnElement="Flow_3">
|
|
<di:waypoint x="190" y="470"/>
|
|
<di:waypoint x="190" y="495"/>
|
|
<di:waypoint x="300" y="495"/>
|
|
<di:waypoint x="300" y="590"/>
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="198" y="474.5" width="30" height="14"/>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_4_di" bpmnElement="Flow_4">
|
|
<di:waypoint x="215" y="445"/>
|
|
<di:waypoint x="240" y="445"/>
|
|
<di:waypoint x="240" y="590"/>
|
|
<di:waypoint x="130" y="590"/>
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="212.5" y="425" width="30" height="14"/>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_5_di" bpmnElement="Flow_5">
|
|
<di:waypoint x="80" y="630"/>
|
|
<di:waypoint x="20" y="630"/>
|
|
<di:waypoint x="20" y="290"/>
|
|
<di:waypoint x="165" y="290"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_6_di" bpmnElement="Flow_6">
|
|
<di:waypoint x="300" y="670"/>
|
|
<di:waypoint x="300" y="735"/>
|
|
<di:waypoint x="190" y="735"/>
|
|
<di:waypoint x="190" y="760"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_7_di" bpmnElement="Flow_7">
|
|
<di:waypoint x="190" y="810"/>
|
|
<di:waypoint x="190" y="835"/>
|
|
<di:waypoint x="130" y="835"/>
|
|
<di:waypoint x="130" y="930"/>
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="198" y="814.5" width="30" height="14"/>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_8_di" bpmnElement="Flow_8">
|
|
<di:waypoint x="215" y="785"/>
|
|
<di:waypoint x="240" y="785"/>
|
|
<di:waypoint x="240" y="930"/>
|
|
<di:waypoint x="300" y="930"/>
|
|
<bpmndi:BPMNLabel>
|
|
<dc:Bounds x="212.5" y="765" width="30" height="14"/>
|
|
</bpmndi:BPMNLabel>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_9_di" bpmnElement="Flow_9">
|
|
<di:waypoint x="130" y="1010"/>
|
|
<di:waypoint x="130" y="1055"/>
|
|
<di:waypoint x="198.333" y="1055"/>
|
|
<di:waypoint x="198.333" y="1100"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_10_di" bpmnElement="Flow_10">
|
|
<di:waypoint x="300" y="1010"/>
|
|
<di:waypoint x="300" y="1055"/>
|
|
<di:waypoint x="231.667" y="1055"/>
|
|
<di:waypoint x="231.667" y="1100"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="Flow_11_di" bpmnElement="Flow_11">
|
|
<di:waypoint x="215" y="1180"/>
|
|
<di:waypoint x="215" y="1225"/>
|
|
<di:waypoint x="183" y="1225"/>
|
|
<di:waypoint x="183" y="1270"/>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</bpmn:definitions>
|