<?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="KP_HP_10_Definitions" targetNamespace="urn:caf:public:descriptive-process">
  <bpmn:process id="KP_HP_10_Process" name="KP-HP-10: Beendete Verfahren archivieren und zurückholen" isExecutable="false">
    <bpmn:documentation textFormat="text/plain">Referent oder Geschäftsführung ordnen eine beendete Akte dem Archiv zu oder holen sie mit Begründung zurück. Beide Wege ändern nur ihre Einordnung in die Listen und erhalten den fachlichen Endzustand, die Akte und die bestehenden Zugangssperren.</bpmn:documentation>
    <bpmn:laneSet id="KP_HP_10_LaneSet">
      <bpmn:lane id="KP_HP_10_Lane_0" name="Referent oder Geschäftsführung">
        <bpmn:documentation textFormat="text/plain">Verantwortung: Referent oder Geschäftsführung</bpmn:documentation>
        <bpmn:flowNodeRef>KP_HP_10_Start</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Read</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Action</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_ArchiveConfirm</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_RestoreReason</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_RestoreConfirm</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_ReviewResult</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Done</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="KP_HP_10_Lane_1" name="Portal">
        <bpmn:documentation textFormat="text/plain">Verantwortung: Portal</bpmn:documentation>
        <bpmn:flowNodeRef>KP_HP_10_Check</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Allowed</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Apply</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>KP_HP_10_Refused</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="KP_HP_10_Start" name="Akte einordnen">
      <bpmn:documentation textFormat="text/plain">Eine beendete Akte soll archiviert oder eine bereits archivierte Akte zurückgeholt werden.</bpmn:documentation>
      <bpmn:outgoing>KP_HP_10_Flow_Start_Read</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="KP_HP_10_Read" name="Akte und Archivkennzeichnung prüfen">
      <bpmn:documentation textFormat="text/plain">Die berechtigte Person liest den Endzustand und die aktuelle Archivkennzeichnung. Ein Endzustand allein ist noch keine Archiventscheidung.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Start_Read</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_Read_Action</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:exclusiveGateway id="KP_HP_10_Action" name="Archivieren oder zurückholen?">
      <bpmn:documentation textFormat="text/plain">Das Archiv dient der Einordnung beendeter Akten in den Listen. Referent und Geschäftsführung dürfen beide Entscheidungen treffen.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Read_Action</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_Action_ArchiveConfirm</bpmn:outgoing>
      <bpmn:outgoing>KP_HP_10_Flow_Action_RestoreReason</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:userTask id="KP_HP_10_ArchiveConfirm" name="Archivierung bestätigen">
      <bpmn:documentation textFormat="text/plain">Nur eine abgeschlossene, stornierte oder abgebrochene Akte ohne aktuelle Archivkennzeichnung kann archiviert werden. Keine automatische Archivierung ist vorgesehen.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Action_ArchiveConfirm</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_ArchiveConfirm_Check</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:userTask id="KP_HP_10_RestoreReason" name="Rückholgrund erfassen">
      <bpmn:documentation textFormat="text/plain">Zum Zurückholen einer archivierten Akte ist eine nichtleere Begründung innerhalb der vorgesehenen Länge erforderlich. Sie bleibt im geschützten Entscheidungsnachweis.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Action_RestoreReason</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_RestoreReason_RestoreConfirm</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:userTask id="KP_HP_10_RestoreConfirm" name="Zurückholen bestätigen">
      <bpmn:documentation textFormat="text/plain">Die Akte soll wieder über die operativen Listen auffindbar werden, soweit deren übrige Filter passen. Der fachliche Endzustand wird nicht aufgehoben.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_RestoreReason_RestoreConfirm</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_RestoreConfirm_Check</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:serviceTask id="KP_HP_10_Check" name="Recht und aktuellen Archivstand prüfen">
      <bpmn:documentation textFormat="text/plain">Für Archivierung ist eine beendete, noch nicht archivierte Akte erforderlich. Zum Zurückholen muss sie archiviert und die Begründung gültig sein. Das Recht und der zuletzt gelesene Stand werden jeweils erneut geprüft.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_ArchiveConfirm_Check</bpmn:incoming>
      <bpmn:incoming>KP_HP_10_Flow_RestoreConfirm_Check</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_Check_Allowed</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:exclusiveGateway id="KP_HP_10_Allowed" name="Aktion zulässig?">
      <bpmn:documentation textFormat="text/plain">Ein offenes Verfahren, Doppelarchivierung, Zurückholen ohne Archivierung, fehlendes Recht oder inzwischen veränderter Stand werden abgewiesen.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Check_Allowed</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_Allowed_Refused</bpmn:outgoing>
      <bpmn:outgoing>KP_HP_10_Flow_Allowed_Apply</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:serviceTask id="KP_HP_10_Apply" name="Archivkennzeichnung und Entscheidung festhalten">
      <bpmn:documentation textFormat="text/plain">Die Archivkennzeichnung wird gesetzt oder entfernt; die Entscheidung bleibt mit Person und Zeitpunkt nachvollziehbar. Verfahrensdaten, Dokumente, Endzustand, fachlicher Schreibschutz und entzogene Zugänge bleiben erhalten.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Allowed_Apply</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_Apply_ReviewResult</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:userTask id="KP_HP_10_ReviewResult" name="Akte in der passenden Liste prüfen">
      <bpmn:documentation textFormat="text/plain">Archivierte Akten stehen im Archiv und fehlen in den operativen Listen. Zurückgeholte Akten verlassen das Archiv und erscheinen nur dort, wo die übrigen Listenregeln passen. Bestehende Lese- und Downloadrechte gelten weiter.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Apply_ReviewResult</bpmn:incoming>
      <bpmn:outgoing>KP_HP_10_Flow_ReviewResult_Done</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:endEvent id="KP_HP_10_Done" name="Akte eingeordnet; Endzustand unverändert">
      <bpmn:documentation textFormat="text/plain">Archivierung und Zurückholen eröffnen das Verfahren nicht wieder und verleihen keine zusätzlichen Rechte.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_ReviewResult_Done</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:endEvent id="KP_HP_10_Refused" name="Archivaktion abgewiesen">
      <bpmn:documentation textFormat="text/plain">Die Akte und ihr Verlauf bleiben unverändert. Bei inzwischen veränderten Angaben müssen die aktuelle Kennzeichnung und die neue Entscheidung erneut geprüft werden.</bpmn:documentation>
      <bpmn:incoming>KP_HP_10_Flow_Allowed_Refused</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Start_Read" sourceRef="KP_HP_10_Start" targetRef="KP_HP_10_Read">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Read_Action" sourceRef="KP_HP_10_Read" targetRef="KP_HP_10_Action">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Action_ArchiveConfirm" sourceRef="KP_HP_10_Action" targetRef="KP_HP_10_ArchiveConfirm" name="Archivieren">
      <bpmn:documentation textFormat="text/plain">Archivieren</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Action_RestoreReason" sourceRef="KP_HP_10_Action" targetRef="KP_HP_10_RestoreReason" name="Zurückholen">
      <bpmn:documentation textFormat="text/plain">Zurückholen</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_RestoreReason_RestoreConfirm" sourceRef="KP_HP_10_RestoreReason" targetRef="KP_HP_10_RestoreConfirm">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_ArchiveConfirm_Check" sourceRef="KP_HP_10_ArchiveConfirm" targetRef="KP_HP_10_Check">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_RestoreConfirm_Check" sourceRef="KP_HP_10_RestoreConfirm" targetRef="KP_HP_10_Check">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Check_Allowed" sourceRef="KP_HP_10_Check" targetRef="KP_HP_10_Allowed">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Allowed_Refused" sourceRef="KP_HP_10_Allowed" targetRef="KP_HP_10_Refused" name="Nein">
      <bpmn:documentation textFormat="text/plain">Nein</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Allowed_Apply" sourceRef="KP_HP_10_Allowed" targetRef="KP_HP_10_Apply" name="Ja">
      <bpmn:documentation textFormat="text/plain">Ja</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_Apply_ReviewResult" sourceRef="KP_HP_10_Apply" targetRef="KP_HP_10_ReviewResult">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="KP_HP_10_Flow_ReviewResult_Done" sourceRef="KP_HP_10_ReviewResult" targetRef="KP_HP_10_Done">
      <bpmn:documentation textFormat="text/plain">Weiter zum nächsten fachlichen Schritt.</bpmn:documentation>
      </bpmn:sequenceFlow>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="KP_HP_10_Diagram" name="Fachlicher Ablauf">
    <bpmndi:BPMNPlane id="KP_HP_10_Plane" bpmnElement="KP_HP_10_Process">
      <bpmndi:BPMNShape id="KP_HP_10_Lane_0_di" bpmnElement="KP_HP_10_Lane_0" isHorizontal="true">
        <dc:Bounds x="80" y="70" width="1950.0" height="280" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Lane_1_di" bpmnElement="KP_HP_10_Lane_1" isHorizontal="true">
        <dc:Bounds x="80" y="350" width="1950.0" height="280" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Start_di" bpmnElement="KP_HP_10_Start">
        <dc:Bounds x="232.0" y="132.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="178.0" y="176.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Read_di" bpmnElement="KP_HP_10_Read">
        <dc:Bounds x="400.0" y="110.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Action_di" bpmnElement="KP_HP_10_Action">
        <dc:Bounds x="685.0" y="125.0" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="638.0" y="70.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_ArchiveConfirm_di" bpmnElement="KP_HP_10_ArchiveConfirm">
        <dc:Bounds x="860.0" y="110.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_RestoreReason_di" bpmnElement="KP_HP_10_RestoreReason">
        <dc:Bounds x="860.0" y="230.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_RestoreConfirm_di" bpmnElement="KP_HP_10_RestoreConfirm">
        <dc:Bounds x="1090.0" y="230.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Check_di" bpmnElement="KP_HP_10_Check">
        <dc:Bounds x="1320.0" y="390.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Allowed_di" bpmnElement="KP_HP_10_Allowed">
        <dc:Bounds x="1605.0" y="405.0" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1558.0" y="350.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Apply_di" bpmnElement="KP_HP_10_Apply">
        <dc:Bounds x="1780.0" y="390.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_ReviewResult_di" bpmnElement="KP_HP_10_ReviewResult">
        <dc:Bounds x="1780.0" y="110.0" width="160" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Done_di" bpmnElement="KP_HP_10_Done">
        <dc:Bounds x="1842.0" y="252.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1788.0" y="296.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="KP_HP_10_Refused_di" bpmnElement="KP_HP_10_Refused">
        <dc:Bounds x="1612.0" y="532.0" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1558.0" y="576.0" width="144" height="46" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Start_Read_di" bpmnElement="KP_HP_10_Flow_Start_Read">
        <di:waypoint x="268.0" y="150.0" />
        <di:waypoint x="400.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Read_Action_di" bpmnElement="KP_HP_10_Flow_Read_Action">
        <di:waypoint x="560.0" y="150.0" />
        <di:waypoint x="685.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Action_ArchiveConfirm_di" bpmnElement="KP_HP_10_Flow_Action_ArchiveConfirm">
        <di:waypoint x="735.0" y="150.0" />
        <di:waypoint x="860.0" y="150.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="761.75" y="120.0" width="71.5" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Action_RestoreReason_di" bpmnElement="KP_HP_10_Flow_Action_RestoreReason">
        <di:waypoint x="710.0" y="175.0" />
        <di:waypoint x="710.0" y="270.0" />
        <di:waypoint x="860.0" y="270.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="749.25" y="240.0" width="71.5" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_RestoreReason_RestoreConfirm_di" bpmnElement="KP_HP_10_Flow_RestoreReason_RestoreConfirm">
        <di:waypoint x="1020.0" y="270.0" />
        <di:waypoint x="1090.0" y="270.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_ArchiveConfirm_Check_di" bpmnElement="KP_HP_10_Flow_ArchiveConfirm_Check">
        <di:waypoint x="1020.0" y="150.0" />
        <di:waypoint x="1044.0" y="150.0" />
        <di:waypoint x="1044.0" y="430.0" />
        <di:waypoint x="1320.0" y="430.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_RestoreConfirm_Check_di" bpmnElement="KP_HP_10_Flow_RestoreConfirm_Check">
        <di:waypoint x="1250.0" y="270.0" />
        <di:waypoint x="1296.0" y="270.0" />
        <di:waypoint x="1296.0" y="430.0" />
        <di:waypoint x="1320.0" y="430.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Check_Allowed_di" bpmnElement="KP_HP_10_Flow_Check_Allowed">
        <di:waypoint x="1480.0" y="430.0" />
        <di:waypoint x="1605.0" y="430.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Allowed_Refused_di" bpmnElement="KP_HP_10_Flow_Allowed_Refused">
        <di:waypoint x="1630.0" y="455.0" />
        <di:waypoint x="1630.0" y="532.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1642.0" y="484.5" width="30" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Allowed_Apply_di" bpmnElement="KP_HP_10_Flow_Allowed_Apply">
        <di:waypoint x="1655.0" y="430.0" />
        <di:waypoint x="1780.0" y="430.0" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1702.5" y="400.0" width="30" height="18" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_Apply_ReviewResult_di" bpmnElement="KP_HP_10_Flow_Apply_ReviewResult">
        <di:waypoint x="1940.0" y="430.0" />
        <di:waypoint x="1964.0" y="430.0" />
        <di:waypoint x="1964.0" y="201.0" />
        <di:waypoint x="1756.0" y="201.0" />
        <di:waypoint x="1756.0" y="150.0" />
        <di:waypoint x="1780.0" y="150.0" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="KP_HP_10_Flow_ReviewResult_Done_di" bpmnElement="KP_HP_10_Flow_ReviewResult_Done">
        <di:waypoint x="1940.0" y="150.0" />
        <di:waypoint x="1950.0" y="150.0" />
        <di:waypoint x="1950.0" y="228.0" />
        <di:waypoint x="1860.0" y="228.0" />
        <di:waypoint x="1860.0" y="252.0" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>