Skip to content

Commit 54553bc

Browse files
authored
[PHEE-617] Getting multiple callbacks on single batch transaction API call (#252)
* [PHEE-617] Getting multiple callbacks on single batch transaction API call * image added * image change * image change * exported image
1 parent bdead6c commit 54553bc

File tree

2 files changed

+80
-68
lines changed

2 files changed

+80
-68
lines changed
66 Bytes
Loading

orchestration/feel/bulk_processor-DFSPID.bpmn

+80-68
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
<zeebe:taskDefinition type="batchStatus" />
155155
</bpmn:extensionElements>
156156
<bpmn:incoming>Flow_1i7um70</bpmn:incoming>
157-
<bpmn:outgoing>Flow_0ilu2n5</bpmn:outgoing>
157+
<bpmn:outgoing>Flow_18c5uxb</bpmn:outgoing>
158158
</bpmn:serviceTask>
159159
<bpmn:exclusiveGateway id="Gateway_08s50a1">
160160
<bpmn:incoming>Flow_1wsncqq</bpmn:incoming>
@@ -382,10 +382,8 @@
382382
<bpmn:sequenceFlow id="Flow_13bnu4n" sourceRef="successThresholdEnableCheck" targetRef="Event_1na7to7">
383383
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=completionThresholdCheckEnabled = true</bpmn:conditionExpression>
384384
</bpmn:sequenceFlow>
385-
<bpmn:sequenceFlow id="Flow_0ilu2n5" sourceRef="batchStatus" targetRef="Gateway_1mfoqdt" />
386385
<bpmn:parallelGateway id="Gateway_1mfoqdt">
387-
<bpmn:incoming>Flow_0ilu2n5</bpmn:incoming>
388-
<bpmn:incoming>Flow_18fhjql</bpmn:incoming>
386+
<bpmn:incoming>Flow_0yhvmsf</bpmn:incoming>
389387
<bpmn:outgoing>Flow_1qjmjs6</bpmn:outgoing>
390388
<bpmn:outgoing>Flow_0x5g1yx</bpmn:outgoing>
391389
</bpmn:parallelGateway>
@@ -452,9 +450,8 @@
452450
<zeebe:taskDefinition type="batchAggregate" />
453451
</bpmn:extensionElements>
454452
<bpmn:incoming>Flow_0lg9iie</bpmn:incoming>
455-
<bpmn:outgoing>Flow_18fhjql</bpmn:outgoing>
453+
<bpmn:outgoing>Flow_14pwl6g</bpmn:outgoing>
456454
</bpmn:serviceTask>
457-
<bpmn:sequenceFlow id="Flow_18fhjql" sourceRef="batchAggregate" targetRef="Gateway_1mfoqdt" />
458455
<bpmn:sequenceFlow id="Flow_0mqykzn" sourceRef="approvalEnableCheck" targetRef="authorization">
459456
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=authorizationEnabled = true</bpmn:conditionExpression>
460457
</bpmn:sequenceFlow>
@@ -531,6 +528,14 @@
531528
<bpmn:sequenceFlow id="Flow_16yundm" name="De Bulking Failed" sourceRef="Gateway_0r04yxl" targetRef="Gateway_0osfmdz">
532529
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=deduplicationFailed = true</bpmn:conditionExpression>
533530
</bpmn:sequenceFlow>
531+
<bpmn:exclusiveGateway id="Gateway_0hzpwsx">
532+
<bpmn:incoming>Flow_18c5uxb</bpmn:incoming>
533+
<bpmn:incoming>Flow_14pwl6g</bpmn:incoming>
534+
<bpmn:outgoing>Flow_0yhvmsf</bpmn:outgoing>
535+
</bpmn:exclusiveGateway>
536+
<bpmn:sequenceFlow id="Flow_0yhvmsf" sourceRef="Gateway_0hzpwsx" targetRef="Gateway_1mfoqdt" />
537+
<bpmn:sequenceFlow id="Flow_18c5uxb" sourceRef="batchStatus" targetRef="Gateway_0hzpwsx" />
538+
<bpmn:sequenceFlow id="Flow_14pwl6g" sourceRef="batchAggregate" targetRef="Gateway_0hzpwsx" />
534539
<bpmn:group id="Group_1kpigx7" categoryValueRef="CategoryValue_1ow9hi2" />
535540
<bpmn:group id="Group_0ljs43n" categoryValueRef="CategoryValue_06sjnvc" />
536541
<bpmn:group id="Group_1dn0u9z" categoryValueRef="CategoryValue_03k1n69" />
@@ -551,6 +556,37 @@
551556
</bpmn:message>
552557
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
553558
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="bulk_processor-DFSPID">
559+
<bpmndi:BPMNEdge id="Flow_16yundm_di" bpmnElement="Flow_16yundm">
560+
<di:waypoint x="1830" y="712" />
561+
<di:waypoint x="1830" y="180" />
562+
<di:waypoint x="4970" y="170" />
563+
<di:waypoint x="4970" y="605" />
564+
<bpmndi:BPMNLabel>
565+
<dc:Bounds x="1836" y="333" width="87" height="14" />
566+
</bpmndi:BPMNLabel>
567+
</bpmndi:BPMNEdge>
568+
<bpmndi:BPMNEdge id="Flow_1jxlcdn_di" bpmnElement="Flow_1jxlcdn">
569+
<di:waypoint x="1580" y="762" />
570+
<di:waypoint x="1580" y="930" />
571+
<di:waypoint x="1920" y="930" />
572+
<di:waypoint x="1920" y="762" />
573+
</bpmndi:BPMNEdge>
574+
<bpmndi:BPMNEdge id="Flow_1qfedra_di" bpmnElement="Flow_1qfedra">
575+
<di:waypoint x="1605" y="737" />
576+
<di:waypoint x="1660" y="737" />
577+
</bpmndi:BPMNEdge>
578+
<bpmndi:BPMNEdge id="Flow_0mznm0b_di" bpmnElement="Flow_0mznm0b">
579+
<di:waypoint x="1855" y="737" />
580+
<di:waypoint x="1895" y="737" />
581+
</bpmndi:BPMNEdge>
582+
<bpmndi:BPMNEdge id="Flow_01as8cw_di" bpmnElement="Flow_01as8cw">
583+
<di:waypoint x="1760" y="737" />
584+
<di:waypoint x="1805" y="737" />
585+
</bpmndi:BPMNEdge>
586+
<bpmndi:BPMNEdge id="Flow_0qr8tho_di" bpmnElement="Flow_0qr8tho">
587+
<di:waypoint x="1515" y="737" />
588+
<di:waypoint x="1555" y="737" />
589+
</bpmndi:BPMNEdge>
554590
<bpmndi:BPMNEdge id="Flow_0avvjpj_di" bpmnElement="Flow_0avvjpj">
555591
<di:waypoint x="1250" y="712" />
556592
<di:waypoint x="1250" y="590" />
@@ -592,12 +628,6 @@
592628
<di:waypoint x="765" y="737" />
593629
<di:waypoint x="830" y="737" />
594630
</bpmndi:BPMNEdge>
595-
<bpmndi:BPMNEdge id="Flow_18fhjql_di" bpmnElement="Flow_18fhjql">
596-
<di:waypoint x="3540" y="810" />
597-
<di:waypoint x="3590" y="810" />
598-
<di:waypoint x="3590" y="737" />
599-
<di:waypoint x="3625" y="737" />
600-
</bpmndi:BPMNEdge>
601631
<bpmndi:BPMNEdge id="Flow_0lg9iie_di" bpmnElement="Flow_0lg9iie">
602632
<di:waypoint x="3360" y="835" />
603633
<di:waypoint x="3360" y="860" />
@@ -669,8 +699,8 @@
669699
</bpmndi:BPMNLabel>
670700
</bpmndi:BPMNEdge>
671701
<bpmndi:BPMNEdge id="Flow_0x5g1yx_di" bpmnElement="Flow_0x5g1yx">
672-
<di:waypoint x="3650" y="762" />
673-
<di:waypoint x="3650" y="880" />
702+
<di:waypoint x="3690" y="762" />
703+
<di:waypoint x="3690" y="880" />
674704
<di:waypoint x="3380" y="880" />
675705
<di:waypoint x="3380" y="925" />
676706
</bpmndi:BPMNEdge>
@@ -696,14 +726,9 @@
696726
</bpmndi:BPMNLabel>
697727
</bpmndi:BPMNEdge>
698728
<bpmndi:BPMNEdge id="Flow_1qjmjs6_di" bpmnElement="Flow_1qjmjs6">
699-
<di:waypoint x="3650" y="712" />
700-
<di:waypoint x="3650" y="685" />
701-
</bpmndi:BPMNEdge>
702-
<bpmndi:BPMNEdge id="Flow_0ilu2n5_di" bpmnElement="Flow_0ilu2n5">
703-
<di:waypoint x="3540" y="710" />
704-
<di:waypoint x="3583" y="710" />
705-
<di:waypoint x="3583" y="737" />
706-
<di:waypoint x="3625" y="737" />
729+
<di:waypoint x="3690" y="712" />
730+
<di:waypoint x="3690" y="660" />
731+
<di:waypoint x="3675" y="660" />
707732
</bpmndi:BPMNEdge>
708733
<bpmndi:BPMNEdge id="Flow_13bnu4n_di" bpmnElement="Flow_13bnu4n">
709734
<di:waypoint x="3265" y="737" />
@@ -1034,43 +1059,30 @@
10341059
<di:waypoint x="570" y="737" />
10351060
<di:waypoint x="615" y="737" />
10361061
</bpmndi:BPMNEdge>
1037-
<bpmndi:BPMNEdge id="Flow_0qr8tho_di" bpmnElement="Flow_0qr8tho">
1038-
<di:waypoint x="1515" y="737" />
1039-
<di:waypoint x="1555" y="737" />
1040-
</bpmndi:BPMNEdge>
1041-
<bpmndi:BPMNEdge id="Flow_01as8cw_di" bpmnElement="Flow_01as8cw">
1042-
<di:waypoint x="1760" y="737" />
1043-
<di:waypoint x="1805" y="737" />
1044-
</bpmndi:BPMNEdge>
1045-
<bpmndi:BPMNEdge id="Flow_0mznm0b_di" bpmnElement="Flow_0mznm0b">
1046-
<di:waypoint x="1855" y="737" />
1047-
<di:waypoint x="1895" y="737" />
1048-
</bpmndi:BPMNEdge>
1049-
<bpmndi:BPMNEdge id="Flow_1qfedra_di" bpmnElement="Flow_1qfedra">
1050-
<di:waypoint x="1605" y="737" />
1051-
<di:waypoint x="1660" y="737" />
1062+
<bpmndi:BPMNEdge id="Flow_0yhvmsf_di" bpmnElement="Flow_0yhvmsf">
1063+
<di:waypoint x="3635" y="737" />
1064+
<di:waypoint x="3665" y="737" />
10521065
</bpmndi:BPMNEdge>
1053-
<bpmndi:BPMNEdge id="Flow_1jxlcdn_di" bpmnElement="Flow_1jxlcdn">
1054-
<di:waypoint x="1580" y="762" />
1055-
<di:waypoint x="1580" y="930" />
1056-
<di:waypoint x="1920" y="930" />
1057-
<di:waypoint x="1920" y="762" />
1066+
<bpmndi:BPMNEdge id="Flow_18c5uxb_di" bpmnElement="Flow_18c5uxb">
1067+
<di:waypoint x="3540" y="710" />
1068+
<di:waypoint x="3563" y="710" />
1069+
<di:waypoint x="3563" y="737" />
1070+
<di:waypoint x="3585" y="737" />
10581071
</bpmndi:BPMNEdge>
1059-
<bpmndi:BPMNEdge id="Flow_16yundm_di" bpmnElement="Flow_16yundm">
1060-
<di:waypoint x="1830" y="712" />
1061-
<di:waypoint x="1830" y="180" />
1062-
<di:waypoint x="4970" y="170" />
1063-
<di:waypoint x="4970" y="605" />
1064-
<bpmndi:BPMNLabel>
1065-
<dc:Bounds x="1836" y="333" width="87" height="14" />
1066-
</bpmndi:BPMNLabel>
1072+
<bpmndi:BPMNEdge id="Flow_14pwl6g_di" bpmnElement="Flow_14pwl6g">
1073+
<di:waypoint x="3540" y="810" />
1074+
<di:waypoint x="3610" y="810" />
1075+
<di:waypoint x="3610" y="762" />
10671076
</bpmndi:BPMNEdge>
10681077
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent" bioc:stroke="rgb(67, 160, 71)" bioc:fill="rgb(200, 230, 201)">
10691078
<dc:Bounds x="152" y="719" width="36" height="36" />
10701079
<bpmndi:BPMNLabel>
10711080
<dc:Bounds x="158" y="762" width="24" height="14" />
10721081
</bpmndi:BPMNLabel>
10731082
</bpmndi:BPMNShape>
1083+
<bpmndi:BPMNShape id="Gateway_1cjpo27_di" bpmnElement="approvalEnableCheck" isMarkerVisible="true">
1084+
<dc:Bounds x="715" y="712" width="50" height="50" />
1085+
</bpmndi:BPMNShape>
10741086
<bpmndi:BPMNShape id="Gateway_12m5y6i_di" bpmnElement="orderingEnableCheck" isMarkerVisible="true">
10751087
<dc:Bounds x="1895" y="712" width="50" height="50" />
10761088
</bpmndi:BPMNShape>
@@ -1089,9 +1101,15 @@
10891101
<bpmndi:BPMNShape id="Gateway_0p73vo8_di" bpmnElement="splittingEnableCheck" isMarkerVisible="true">
10901102
<dc:Bounds x="2525" y="712" width="50" height="50" />
10911103
</bpmndi:BPMNShape>
1104+
<bpmndi:BPMNShape id="Gateway_1up9qwo_di" bpmnElement="Gateway_1up9qwo" isMarkerVisible="true">
1105+
<dc:Bounds x="615" y="712" width="50" height="50" />
1106+
</bpmndi:BPMNShape>
10921107
<bpmndi:BPMNShape id="Gateway_1hjy8hv_di" bpmnElement="partyLookupUpEnableCheck" isMarkerVisible="true">
10931108
<dc:Bounds x="375" y="712" width="50" height="50" />
10941109
</bpmndi:BPMNShape>
1110+
<bpmndi:BPMNShape id="Gateway_1rhnyf0_di" bpmnElement="Gateway_1rhnyf0" isMarkerVisible="true">
1111+
<dc:Bounds x="1465" y="712" width="50" height="50" />
1112+
</bpmndi:BPMNShape>
10951113
<bpmndi:BPMNShape id="Gateway_0oukw4s_di" bpmnElement="Gateway_0oukw4s" isMarkerVisible="true">
10961114
<dc:Bounds x="2105" y="712" width="50" height="50" />
10971115
</bpmndi:BPMNShape>
@@ -1101,6 +1119,12 @@
11011119
<bpmndi:BPMNShape id="Gateway_1yqmbez_di" bpmnElement="Gateway_1yqmbez" isMarkerVisible="true">
11021120
<dc:Bounds x="2745" y="712" width="50" height="50" />
11031121
</bpmndi:BPMNShape>
1122+
<bpmndi:BPMNShape id="Activity_1kzf1kn_di" bpmnElement="partyLookup" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
1123+
<dc:Bounds x="470" y="697" width="100" height="80" />
1124+
</bpmndi:BPMNShape>
1125+
<bpmndi:BPMNShape id="Activity_1t8my4j_di" bpmnElement="approval" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
1126+
<dc:Bounds x="1320" y="697" width="100" height="80" />
1127+
</bpmndi:BPMNShape>
11041128
<bpmndi:BPMNShape id="Activity_1977wsb_di" bpmnElement="ordering" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
11051129
<dc:Bounds x="1980" y="697" width="100" height="80" />
11061130
</bpmndi:BPMNShape>
@@ -1194,9 +1218,6 @@
11941218
<dc:Bounds x="6471" y="645" width="61" height="27" />
11951219
</bpmndi:BPMNLabel>
11961220
</bpmndi:BPMNShape>
1197-
<bpmndi:BPMNShape id="Gateway_0zr5ns3_di" bpmnElement="Gateway_1mfoqdt">
1198-
<dc:Bounds x="3625" y="712" width="50" height="50" />
1199-
</bpmndi:BPMNShape>
12001221
<bpmndi:BPMNShape id="Gateway_0lr9doe_di" bpmnElement="Gateway_0lr9doe" isMarkerVisible="true">
12011222
<dc:Bounds x="3625" y="635" width="50" height="50" />
12021223
</bpmndi:BPMNShape>
@@ -1215,15 +1236,6 @@
12151236
<bpmndi:BPMNShape id="Activity_1ih0r41_di" bpmnElement="batchAggregate" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
12161237
<dc:Bounds x="3440" y="770" width="100" height="80" />
12171238
</bpmndi:BPMNShape>
1218-
<bpmndi:BPMNShape id="Activity_1kzf1kn_di" bpmnElement="partyLookup" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
1219-
<dc:Bounds x="470" y="697" width="100" height="80" />
1220-
</bpmndi:BPMNShape>
1221-
<bpmndi:BPMNShape id="Gateway_1up9qwo_di" bpmnElement="Gateway_1up9qwo" isMarkerVisible="true">
1222-
<dc:Bounds x="615" y="712" width="50" height="50" />
1223-
</bpmndi:BPMNShape>
1224-
<bpmndi:BPMNShape id="Gateway_1cjpo27_di" bpmnElement="approvalEnableCheck" isMarkerVisible="true">
1225-
<dc:Bounds x="715" y="712" width="50" height="50" />
1226-
</bpmndi:BPMNShape>
12271239
<bpmndi:BPMNShape id="Activity_1621wut_di" bpmnElement="authorization" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
12281240
<dc:Bounds x="830" y="697" width="100" height="80" />
12291241
</bpmndi:BPMNShape>
@@ -1236,12 +1248,6 @@
12361248
<bpmndi:BPMNShape id="Gateway_0fu85l2_di" bpmnElement="Gateway_0fu85l2" isMarkerVisible="true">
12371249
<dc:Bounds x="1225" y="712" width="50" height="50" />
12381250
</bpmndi:BPMNShape>
1239-
<bpmndi:BPMNShape id="Activity_1t8my4j_di" bpmnElement="approval" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
1240-
<dc:Bounds x="1320" y="697" width="100" height="80" />
1241-
</bpmndi:BPMNShape>
1242-
<bpmndi:BPMNShape id="Gateway_1rhnyf0_di" bpmnElement="Gateway_1rhnyf0" isMarkerVisible="true">
1243-
<dc:Bounds x="1465" y="712" width="50" height="50" />
1244-
</bpmndi:BPMNShape>
12451251
<bpmndi:BPMNShape id="Gateway_0emi6ra_di" bpmnElement="Gateway_0emi6ra" isMarkerVisible="true">
12461252
<dc:Bounds x="1555" y="712" width="50" height="50" />
12471253
</bpmndi:BPMNShape>
@@ -1251,6 +1257,12 @@
12511257
<bpmndi:BPMNShape id="Activity_0b9ms4j_di" bpmnElement="deduplicate" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
12521258
<dc:Bounds x="1660" y="697" width="100" height="80" />
12531259
</bpmndi:BPMNShape>
1260+
<bpmndi:BPMNShape id="Gateway_0zr5ns3_di" bpmnElement="Gateway_1mfoqdt">
1261+
<dc:Bounds x="3665" y="712" width="50" height="50" />
1262+
</bpmndi:BPMNShape>
1263+
<bpmndi:BPMNShape id="Gateway_0hzpwsx_di" bpmnElement="Gateway_0hzpwsx" isMarkerVisible="true">
1264+
<dc:Bounds x="3585" y="712" width="50" height="50" />
1265+
</bpmndi:BPMNShape>
12541266
<bpmndi:BPMNShape id="Group_1kpigx7_di" bpmnElement="Group_1kpigx7">
12551267
<dc:Bounds x="2880" y="540" width="300" height="320" />
12561268
<bpmndi:BPMNLabel>

0 commit comments

Comments
 (0)