|
47 | 47 | <bpmn:incoming>Flow_PatchZaak_To_ReadToelichting</bpmn:incoming> |
48 | 48 | <bpmn:outgoing>Flow_ReadToelichting_To_Calculate</bpmn:outgoing> |
49 | 49 | </bpmn:serviceTask> |
50 | | - <bpmn:serviceTask id="CalculateBaseAmountTask" name="Bereken Basisbedrag" camunda:asyncAfter="true" camunda:expression="${valueResolverDelegateService.handleValue(execution, 'doc:/baseSubsidyAmount', valueResolverDelegateService.resolveValue(execution, 'doc:/householdSize') * 2)}"> |
| 50 | + <bpmn:serviceTask id="ResolveHouseholdSizeTask" name="Haal Huishoudgrootte Op" camunda:asyncAfter="true" camunda:expression="${execution.setVariable('householdSize', valueResolverDelegateService.resolveValue(execution, 'doc:/householdSize'))}"> |
51 | 51 | <bpmn:incoming>Flow_ReadToelichting_To_Calculate</bpmn:incoming> |
| 52 | + <bpmn:outgoing>Flow_ResolveHouseholdSize_To_Calculate</bpmn:outgoing> |
| 53 | + </bpmn:serviceTask> |
| 54 | + <bpmn:businessRuleTask id="CalculateBaseAmountDmnTask" name="Bereken Basisbedrag (DMN)" camunda:asyncAfter="true" camunda:decisionRef="base-subsidy-amount-decision" camunda:mapDecisionResult="singleResult" camunda:resultVariable="dmnResult" camunda:decisionRefBinding="versionTag" camunda:decisionRefVersionTag="BB:household-verification:1.0.0"> |
| 55 | + <bpmn:extensionElements> |
| 56 | + <camunda:inputOutput> |
| 57 | + <camunda:outputParameter name="baseSubsidyAmount">${dmnResult.baseSubsidyAmount}</camunda:outputParameter> |
| 58 | + </camunda:inputOutput> |
| 59 | + </bpmn:extensionElements> |
| 60 | + <bpmn:incoming>Flow_ResolveHouseholdSize_To_Calculate</bpmn:incoming> |
| 61 | + <bpmn:outgoing>Flow_Calculate_To_StoreBaseAmount</bpmn:outgoing> |
| 62 | + </bpmn:businessRuleTask> |
| 63 | + <bpmn:serviceTask id="StoreBaseAmountTask" name="Sla Basisbedrag Op" camunda:asyncAfter="true" camunda:expression="${valueResolverDelegateService.handleValue(execution, 'doc:/baseSubsidyAmount', baseSubsidyAmount)}"> |
| 64 | + <bpmn:incoming>Flow_Calculate_To_StoreBaseAmount</bpmn:incoming> |
52 | 65 | <bpmn:outgoing>Flow_Calculate_To_End</bpmn:outgoing> |
53 | 66 | </bpmn:serviceTask> |
54 | 67 | <bpmn:sequenceFlow id="Flow_Verify_To_PatchZaak" sourceRef="CreateVerifiedApplicantTask" targetRef="PatchZaakVerificationTask" /> |
55 | 68 | <bpmn:sequenceFlow id="Flow_PatchZaak_To_ReadToelichting" sourceRef="PatchZaakVerificationTask" targetRef="ReadZaakToelichtingTask" /> |
56 | | - <bpmn:sequenceFlow id="Flow_ReadToelichting_To_Calculate" sourceRef="ReadZaakToelichtingTask" targetRef="CalculateBaseAmountTask" /> |
| 69 | + <bpmn:sequenceFlow id="Flow_ReadToelichting_To_Calculate" sourceRef="ReadZaakToelichtingTask" targetRef="ResolveHouseholdSizeTask" /> |
| 70 | + <bpmn:sequenceFlow id="Flow_ResolveHouseholdSize_To_Calculate" sourceRef="ResolveHouseholdSizeTask" targetRef="CalculateBaseAmountDmnTask" /> |
| 71 | + <bpmn:sequenceFlow id="Flow_Calculate_To_StoreBaseAmount" sourceRef="CalculateBaseAmountDmnTask" targetRef="StoreBaseAmountTask" /> |
57 | 72 | <bpmn:endEvent id="EndEvent" name="Verificatie Afgerond"> |
58 | 73 | <bpmn:incoming>Flow_Calculate_To_End</bpmn:incoming> |
59 | 74 | </bpmn:endEvent> |
60 | | - <bpmn:sequenceFlow id="Flow_Calculate_To_End" sourceRef="CalculateBaseAmountTask" targetRef="EndEvent" /> |
| 75 | + <bpmn:sequenceFlow id="Flow_Calculate_To_End" sourceRef="StoreBaseAmountTask" targetRef="EndEvent" /> |
61 | 76 | <bpmn:sequenceFlow id="Flow_Start_To_SetStatusVerificatie" sourceRef="StartEvent" targetRef="SetStatusVerificatieTask" /> |
62 | 77 | <bpmn:sequenceFlow id="Flow_SetStatusVerificatie_To_AddTag" sourceRef="SetStatusVerificatieTask" targetRef="AddTagVerificatieTask" /> |
63 | 78 | <bpmn:sequenceFlow id="Flow_AddTag_To_Format" sourceRef="AddTagVerificatieTask" targetRef="FormatNameTask" /> |
|
68 | 83 | <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
69 | 84 | <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_HouseholdVerification"> |
70 | 85 | <bpmndi:BPMNShape id="Participant_HouseholdVerification_di" bpmnElement="HouseholdVerificationParticipant" isHorizontal="true"> |
71 | | - <dc:Bounds x="160" y="60" width="1570" height="250" /> |
| 86 | + <dc:Bounds x="160" y="60" width="1830" height="250" /> |
72 | 87 | <bpmndi:BPMNLabel /> |
73 | 88 | </bpmndi:BPMNShape> |
74 | 89 | <bpmndi:BPMNShape id="StartEvent_di" bpmnElement="StartEvent"> |
|
109 | 124 | <dc:Bounds x="1200" y="137" width="100" height="80" /> |
110 | 125 | <bpmndi:BPMNLabel /> |
111 | 126 | </bpmndi:BPMNShape> |
112 | | - <bpmndi:BPMNShape id="CalculateBaseAmountTask_di" bpmnElement="CalculateBaseAmountTask"> |
| 127 | + <bpmndi:BPMNShape id="ResolveHouseholdSizeTask_di" bpmnElement="ResolveHouseholdSizeTask"> |
113 | 128 | <dc:Bounds x="1330" y="137" width="100" height="80" /> |
114 | 129 | <bpmndi:BPMNLabel /> |
115 | 130 | </bpmndi:BPMNShape> |
| 131 | + <bpmndi:BPMNShape id="CalculateBaseAmountDmnTask_di" bpmnElement="CalculateBaseAmountDmnTask"> |
| 132 | + <dc:Bounds x="1460" y="137" width="100" height="80" /> |
| 133 | + <bpmndi:BPMNLabel /> |
| 134 | + </bpmndi:BPMNShape> |
| 135 | + <bpmndi:BPMNShape id="StoreBaseAmountTask_di" bpmnElement="StoreBaseAmountTask"> |
| 136 | + <dc:Bounds x="1590" y="137" width="100" height="80" /> |
| 137 | + <bpmndi:BPMNLabel /> |
| 138 | + </bpmndi:BPMNShape> |
116 | 139 | <bpmndi:BPMNShape id="EndEvent_di" bpmnElement="EndEvent"> |
117 | | - <dc:Bounds x="1492" y="159" width="36" height="36" /> |
| 140 | + <dc:Bounds x="1752" y="159" width="36" height="36" /> |
118 | 141 | <bpmndi:BPMNLabel> |
119 | | - <dc:Bounds x="1470" y="202" width="80" height="27" /> |
| 142 | + <dc:Bounds x="1730" y="202" width="80" height="27" /> |
120 | 143 | </bpmndi:BPMNLabel> |
121 | 144 | </bpmndi:BPMNShape> |
122 | 145 | <bpmndi:BPMNEdge id="Flow_Start_To_SetStatusVerificatie_di" bpmnElement="Flow_Start_To_SetStatusVerificatie"> |
|
155 | 178 | <di:waypoint x="1300" y="177" /> |
156 | 179 | <di:waypoint x="1330" y="177" /> |
157 | 180 | </bpmndi:BPMNEdge> |
158 | | - <bpmndi:BPMNEdge id="Flow_Calculate_To_End_di" bpmnElement="Flow_Calculate_To_End"> |
| 181 | + <bpmndi:BPMNEdge id="Flow_ResolveHouseholdSize_To_Calculate_di" bpmnElement="Flow_ResolveHouseholdSize_To_Calculate"> |
159 | 182 | <di:waypoint x="1430" y="177" /> |
160 | | - <di:waypoint x="1492" y="177" /> |
| 183 | + <di:waypoint x="1460" y="177" /> |
| 184 | + </bpmndi:BPMNEdge> |
| 185 | + <bpmndi:BPMNEdge id="Flow_Calculate_To_StoreBaseAmount_di" bpmnElement="Flow_Calculate_To_StoreBaseAmount"> |
| 186 | + <di:waypoint x="1560" y="177" /> |
| 187 | + <di:waypoint x="1590" y="177" /> |
| 188 | + </bpmndi:BPMNEdge> |
| 189 | + <bpmndi:BPMNEdge id="Flow_Calculate_To_End_di" bpmnElement="Flow_Calculate_To_End"> |
| 190 | + <di:waypoint x="1690" y="177" /> |
| 191 | + <di:waypoint x="1752" y="177" /> |
161 | 192 | </bpmndi:BPMNEdge> |
162 | 193 | </bpmndi:BPMNPlane> |
163 | 194 | </bpmndi:BPMNDiagram> |
|
0 commit comments