After OpenZaakAanmaken the process now parks at a Beoordelen user task (candidate group behandelaar) until the behandelaar claims and completes it. registrationId rides along as a process variable so the werkbak correlates each task to its aggregate. The walking skeleton is unaffected: the temporary /approve path sets the zaak status directly; wiring the decision to complete this task lands in S-12c/d. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
63 lines
2.8 KiB
XML
63 lines
2.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
xmlns:flowable="http://flowable.org/bpmn"
|
|
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC"
|
|
xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI"
|
|
targetNamespace="http://respellion.nl/big">
|
|
|
|
<!-- Registratie ontvangen flow.
|
|
start -> external-worker task (OpenZaakAanmaken) -> Beoordelen (behandelaar user task) -> end.
|
|
S-03 added the external task (Workflow Client / ACL). S-12 adds the behandelaar's beoordeling
|
|
as a user task: the process parks here until a behandelaar claims and completes it with a
|
|
`besluit` (goedkeuren/afwijzen). The registrationId set at start rides along as a process
|
|
variable so the werkbak can correlate each task back to its aggregate. -->
|
|
<process id="registratie" name="Registratie ontvangen" isExecutable="true">
|
|
|
|
<startEvent id="start" name="Registratie ontvangen"/>
|
|
|
|
<sequenceFlow id="flow1" sourceRef="start" targetRef="OpenZaakAanmaken"/>
|
|
|
|
<serviceTask id="OpenZaakAanmaken" name="OpenZaak aanmaken"
|
|
flowable:type="external-worker"
|
|
flowable:topic="OpenZaakAanmaken"/>
|
|
|
|
<sequenceFlow id="flow2" sourceRef="OpenZaakAanmaken" targetRef="Beoordelen"/>
|
|
|
|
<userTask id="Beoordelen" name="Beoordelen" flowable:candidateGroups="behandelaar"/>
|
|
|
|
<sequenceFlow id="flow3" sourceRef="Beoordelen" targetRef="end"/>
|
|
|
|
<endEvent id="end" name="Registratie beoordeeld"/>
|
|
</process>
|
|
|
|
<bpmndi:BPMNDiagram id="diagram">
|
|
<bpmndi:BPMNPlane id="plane" bpmnElement="registratie">
|
|
<bpmndi:BPMNShape id="s_start" bpmnElement="start">
|
|
<omgdc:Bounds x="100" y="100" width="30" height="30"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="s_task" bpmnElement="OpenZaakAanmaken">
|
|
<omgdc:Bounds x="200" y="85" width="120" height="60"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="s_beoordelen" bpmnElement="Beoordelen">
|
|
<omgdc:Bounds x="390" y="85" width="120" height="60"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNShape id="s_end" bpmnElement="end">
|
|
<omgdc:Bounds x="580" y="100" width="30" height="30"/>
|
|
</bpmndi:BPMNShape>
|
|
<bpmndi:BPMNEdge id="e_flow1" bpmnElement="flow1">
|
|
<omgdi:waypoint x="130" y="115"/>
|
|
<omgdi:waypoint x="200" y="115"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="e_flow2" bpmnElement="flow2">
|
|
<omgdi:waypoint x="320" y="115"/>
|
|
<omgdi:waypoint x="390" y="115"/>
|
|
</bpmndi:BPMNEdge>
|
|
<bpmndi:BPMNEdge id="e_flow3" bpmnElement="flow3">
|
|
<omgdi:waypoint x="510" y="115"/>
|
|
<omgdi:waypoint x="580" y="115"/>
|
|
</bpmndi:BPMNEdge>
|
|
</bpmndi:BPMNPlane>
|
|
</bpmndi:BPMNDiagram>
|
|
</definitions>
|