1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<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 : camunda =" http://camunda.org/schema/1.0/bpmn" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xmlns : di =" http://www.omg.org/spec/DD/20100524/DI" xmlns : modeler =" http://camunda.org/schema/modeler/1.0" id =" Definitions_064fh2o" targetNamespace =" http://bpmn.io/schema/bpmn" exporter =" Camunda Modeler" exporterVersion =" 5.17.0" modeler : executionPlatform =" Camunda Platform" modeler : executionPlatformVersion =" 7.20.0" >
3
- <bpmn : process id =" import_job" name =" Import Job" isExecutable =" true" camunda : versionTag =" 1.0 .0" camunda : historyTimeToLive =" P14D" >
3
+ <bpmn : process id =" import_job" name =" Import Job" isExecutable =" true" camunda : versionTag =" 1.1 .0" camunda : historyTimeToLive =" P14D" >
4
4
<bpmn : documentation >Start the import job that belongs to an import entity.
5
5
6
6
When calling the flow the following variables must be set:
@@ -187,7 +187,7 @@ When calling the flow the following variables must be set:
187
187
<bpmn : conditionExpression xsi : type =" bpmn:tFormalExpression" >${allowGenerate == true}</bpmn : conditionExpression >
188
188
</bpmn : sequenceFlow >
189
189
<bpmn : sequenceFlow id =" Flow_1n6qs8u" name =" no" sourceRef =" create_allowed" targetRef =" user_create_account" />
190
- <bpmn : sequenceFlow id =" Flow_15uycxp" sourceRef =" user_create_account" targetRef =" create_transaction " />
190
+ <bpmn : sequenceFlow id =" Flow_15uycxp" sourceRef =" user_create_account" targetRef =" add_account_mapping " />
191
191
<bpmn : sequenceFlow id =" Flow_0y3m68u" sourceRef =" create_account_extractor" targetRef =" create_account" />
192
192
<bpmn : exclusiveGateway id =" should_apply_rules" name =" apply rules" default =" Flow_0ycxqnq" >
193
193
<bpmn : incoming >Flow_01c6qb3</bpmn : incoming >
@@ -248,8 +248,8 @@ When calling the flow the following variables must be set:
248
248
</camunda : inputOutput >
249
249
</bpmn : extensionElements >
250
250
<bpmn : incoming >Flow_0b5s223</bpmn : incoming >
251
- <bpmn : incoming >Flow_15uycxp</bpmn : incoming >
252
251
<bpmn : incoming >Flow_1lz7czw</bpmn : incoming >
252
+ <bpmn : incoming >Flow_18qem83</bpmn : incoming >
253
253
<bpmn : outgoing >Flow_01c6qb3</bpmn : outgoing >
254
254
</bpmn : serviceTask >
255
255
<bpmn : serviceTask id =" apply_rules" name =" Apply rules" camunda : modelerTemplate =" com.jongsoft.finance.bpmn.delegate.rule.TransactionRuleMatcherDelegate" camunda : modelerTemplateVersion =" 1" camunda : delegateExpression =" ${transactionRuleMatcherDelegate}" >
@@ -304,6 +304,17 @@ When calling the flow the following variables must be set:
304
304
<bpmn : incoming >Flow_00vpxjj</bpmn : incoming >
305
305
<bpmn : outgoing >Flow_0rz5nze</bpmn : outgoing >
306
306
</bpmn : serviceTask >
307
+ <bpmn : serviceTask id =" add_account_mapping" name =" Add account mapping" camunda : modelerTemplate =" com.jongsoft.finance.bpmn.delegate.importer.AddToAccountMapping" camunda : modelerTemplateVersion =" 1" camunda : delegateExpression =" ${addToAccountMapping}" >
308
+ <bpmn : extensionElements >
309
+ <camunda : inputOutput >
310
+ <camunda : inputParameter name =" name" >${transaction.opposingName()}</camunda : inputParameter >
311
+ <camunda : inputParameter name =" accountId" >${accountId}</camunda : inputParameter >
312
+ </camunda : inputOutput >
313
+ </bpmn : extensionElements >
314
+ <bpmn : incoming >Flow_15uycxp</bpmn : incoming >
315
+ <bpmn : outgoing >Flow_18qem83</bpmn : outgoing >
316
+ </bpmn : serviceTask >
317
+ <bpmn : sequenceFlow id =" Flow_18qem83" sourceRef =" add_account_mapping" targetRef =" create_transaction" />
307
318
</bpmn : subProcess >
308
319
<bpmn : sequenceFlow id =" Flow_16v2prx" sourceRef =" process_create_transactions" targetRef =" mark_import_done" />
309
320
<bpmn : endEvent id =" endJob" >
@@ -358,12 +369,6 @@ When calling the flow the following variables must be set:
358
369
<bpmndi : BPMNShape id =" Activity_1y5d1uo_di" bpmnElement =" read_csv_file" >
359
370
<dc : Bounds x =" 1060" y =" 260" width =" 100" height =" 80" />
360
371
</bpmndi : BPMNShape >
361
- <bpmndi : BPMNShape id =" Gateway_02tmvr8_di" bpmnElement =" no_transactions" isMarkerVisible =" true" >
362
- <dc : Bounds x =" 1085" y =" 365" width =" 50" height =" 50" />
363
- <bpmndi : BPMNLabel >
364
- <dc : Bounds x =" 1010" y =" 383" width =" 65" height =" 14" />
365
- </bpmndi : BPMNLabel >
366
- </bpmndi : BPMNShape >
367
372
<bpmndi : BPMNShape id =" Activity_0bn3ft1_di" bpmnElement =" process_account_mapping" isExpanded =" true" >
368
373
<dc : Bounds x =" 810" y =" 450" width =" 780" height =" 330" />
369
374
<bpmndi : BPMNLabel />
@@ -451,7 +456,7 @@ When calling the flow the following variables must be set:
451
456
<dc : Bounds x =" 1280" y =" 250" width =" 100" height =" 80" />
452
457
</bpmndi : BPMNShape >
453
458
<bpmndi : BPMNShape id =" Activity_0nxa7la_di" bpmnElement =" process_create_transactions" isExpanded =" true" >
454
- <dc : Bounds x =" 1710" y =" 85" width =" 1220" height =" 410 " />
459
+ <dc : Bounds x =" 1710" y =" 85" width =" 1220" height =" 535 " />
455
460
<bpmndi : BPMNLabel />
456
461
</bpmndi : BPMNShape >
457
462
<bpmndi : BPMNShape id =" Event_19sbqbc_di" bpmnElement =" start_create_transaction" >
@@ -464,9 +469,9 @@ When calling the flow the following variables must be set:
464
469
</bpmndi : BPMNLabel >
465
470
</bpmndi : BPMNShape >
466
471
<bpmndi : BPMNShape id =" Gateway_0v83u3r_di" bpmnElement =" create_allowed" isMarkerVisible =" true" >
467
- <dc : Bounds x =" 2215" y =" 290 " width =" 50" height =" 50" />
472
+ <dc : Bounds x =" 2215" y =" 355 " width =" 50" height =" 50" />
468
473
<bpmndi : BPMNLabel >
469
- <dc : Bounds x =" 2218" y =" 350 " width =" 44" height =" 14" />
474
+ <dc : Bounds x =" 2218" y =" 415 " width =" 44" height =" 14" />
470
475
</bpmndi : BPMNLabel >
471
476
</bpmndi : BPMNShape >
472
477
<bpmndi : BPMNShape id =" Gateway_17mjkeb_di" bpmnElement =" should_apply_rules" isMarkerVisible =" true" >
@@ -479,7 +484,7 @@ When calling the flow the following variables must be set:
479
484
<dc : Bounds x =" 2872" y =" 297" width =" 36" height =" 36" />
480
485
</bpmndi : BPMNShape >
481
486
<bpmndi : BPMNShape id =" Activity_0lhktha_di" bpmnElement =" user_create_account" >
482
- <dc : Bounds x =" 2340" y =" 275 " width =" 100" height =" 80" />
487
+ <dc : Bounds x =" 2340" y =" 340 " width =" 100" height =" 80" />
483
488
</bpmndi : BPMNShape >
484
489
<bpmndi : BPMNShape id =" Activity_0zbcup5_di" bpmnElement =" locate_account_mapping" >
485
490
<dc : Bounds x =" 2040" y =" 155" width =" 100" height =" 80" />
@@ -494,18 +499,21 @@ When calling the flow the following variables must be set:
494
499
<dc : Bounds x =" 2700" y =" 155" width =" 100" height =" 80" />
495
500
</bpmndi : BPMNShape >
496
501
<bpmndi : BPMNShape id =" Activity_1wb6lyp_di" bpmnElement =" create_account_extractor" >
497
- <dc : Bounds x =" 2040" y =" 275 " width =" 100" height =" 80" />
502
+ <dc : Bounds x =" 2040" y =" 340 " width =" 100" height =" 80" />
498
503
<bpmndi : BPMNLabel />
499
504
</bpmndi : BPMNShape >
500
505
<bpmndi : BPMNShape id =" Activity_00e7v83_di" bpmnElement =" create_account" >
501
- <dc : Bounds x =" 2040" y =" 385 " width =" 100" height =" 80" />
506
+ <dc : Bounds x =" 2040" y =" 460 " width =" 100" height =" 80" />
502
507
</bpmndi : BPMNShape >
503
508
<bpmndi : BPMNShape id =" Activity_1thklz0_di" bpmnElement =" locate_created_account" >
504
- <dc : Bounds x =" 2270" y =" 385 " width =" 100" height =" 80" />
509
+ <dc : Bounds x =" 2270" y =" 460 " width =" 100" height =" 80" />
505
510
</bpmndi : BPMNShape >
506
511
<bpmndi : BPMNShape id =" Activity_1iov1tb_di" bpmnElement =" detect_duplicates" >
507
512
<dc : Bounds x =" 2700" y =" 275" width =" 100" height =" 80" />
508
513
</bpmndi : BPMNShape >
514
+ <bpmndi : BPMNShape id =" Activity_11t29lj_di" bpmnElement =" add_account_mapping" >
515
+ <dc : Bounds x =" 2340" y =" 230" width =" 100" height =" 80" />
516
+ </bpmndi : BPMNShape >
509
517
<bpmndi : BPMNEdge id =" Flow_0xggr5k_di" bpmnElement =" Flow_0xggr5k" >
510
518
<di : waypoint x =" 2140" y =" 195" />
511
519
<di : waypoint x =" 2215" y =" 195" />
@@ -519,34 +527,32 @@ When calling the flow the following variables must be set:
519
527
</bpmndi : BPMNEdge >
520
528
<bpmndi : BPMNEdge id =" Flow_0prfhkh_di" bpmnElement =" Flow_0prfhkh" >
521
529
<di : waypoint x =" 2240" y =" 220" />
522
- <di : waypoint x =" 2240" y =" 290 " />
530
+ <di : waypoint x =" 2240" y =" 355 " />
523
531
<bpmndi : BPMNLabel >
524
- <dc : Bounds x =" 2248" y =" 238 " width =" 13" height =" 14" />
532
+ <dc : Bounds x =" 2248" y =" 261 " width =" 13" height =" 14" />
525
533
</bpmndi : BPMNLabel >
526
534
</bpmndi : BPMNEdge >
527
535
<bpmndi : BPMNEdge id =" Flow_01kp9n6_di" bpmnElement =" Flow_01kp9n6" >
528
- <di : waypoint x =" 2215" y =" 315 " />
529
- <di : waypoint x =" 2140" y =" 315 " />
536
+ <di : waypoint x =" 2215" y =" 380 " />
537
+ <di : waypoint x =" 2140" y =" 380 " />
530
538
<bpmndi : BPMNLabel >
531
- <dc : Bounds x =" 2184" y =" 293 " width =" 17" height =" 14" />
539
+ <dc : Bounds x =" 2184" y =" 358 " width =" 17" height =" 14" />
532
540
</bpmndi : BPMNLabel >
533
541
</bpmndi : BPMNEdge >
534
542
<bpmndi : BPMNEdge id =" Flow_1n6qs8u_di" bpmnElement =" Flow_1n6qs8u" >
535
- <di : waypoint x =" 2265" y =" 315 " />
536
- <di : waypoint x =" 2340" y =" 315 " />
543
+ <di : waypoint x =" 2265" y =" 380 " />
544
+ <di : waypoint x =" 2340" y =" 380 " />
537
545
<bpmndi : BPMNLabel >
538
- <dc : Bounds x =" 2296" y =" 297 " width =" 13" height =" 14" />
546
+ <dc : Bounds x =" 2296" y =" 362 " width =" 13" height =" 14" />
539
547
</bpmndi : BPMNLabel >
540
548
</bpmndi : BPMNEdge >
541
549
<bpmndi : BPMNEdge id =" Flow_15uycxp_di" bpmnElement =" Flow_15uycxp" >
542
- <di : waypoint x =" 2390" y =" 275" />
543
- <di : waypoint x =" 2390" y =" 255" />
544
- <di : waypoint x =" 2480" y =" 255" />
545
- <di : waypoint x =" 2480" y =" 235" />
550
+ <di : waypoint x =" 2390" y =" 340" />
551
+ <di : waypoint x =" 2390" y =" 310" />
546
552
</bpmndi : BPMNEdge >
547
553
<bpmndi : BPMNEdge id =" Flow_0y3m68u_di" bpmnElement =" Flow_0y3m68u" >
548
- <di : waypoint x =" 2090" y =" 355 " />
549
- <di : waypoint x =" 2090" y =" 385 " />
554
+ <di : waypoint x =" 2090" y =" 420 " />
555
+ <di : waypoint x =" 2090" y =" 460 " />
550
556
</bpmndi : BPMNEdge >
551
557
<bpmndi : BPMNEdge id =" Flow_01c6qb3_di" bpmnElement =" Flow_01c6qb3" >
552
558
<di : waypoint x =" 2540" y =" 195" />
@@ -584,20 +590,31 @@ When calling the flow the following variables must be set:
584
590
<di : waypoint x =" 2040" y =" 195" />
585
591
</bpmndi : BPMNEdge >
586
592
<bpmndi : BPMNEdge id =" Flow_1b93w1q_di" bpmnElement =" Flow_1b93w1q" >
587
- <di : waypoint x =" 2140" y =" 425 " />
588
- <di : waypoint x =" 2270" y =" 425 " />
593
+ <di : waypoint x =" 2140" y =" 500 " />
594
+ <di : waypoint x =" 2270" y =" 500 " />
589
595
</bpmndi : BPMNEdge >
590
596
<bpmndi : BPMNEdge id =" Flow_1lz7czw_di" bpmnElement =" Flow_1lz7czw" >
591
- <di : waypoint x =" 2370" y =" 425 " />
592
- <di : waypoint x =" 2510" y =" 425 " />
597
+ <di : waypoint x =" 2370" y =" 500 " />
598
+ <di : waypoint x =" 2510" y =" 500 " />
593
599
<di : waypoint x =" 2510" y =" 235" />
594
600
</bpmndi : BPMNEdge >
601
+ <bpmndi : BPMNEdge id =" Flow_18qem83_di" bpmnElement =" Flow_18qem83" >
602
+ <di : waypoint x =" 2440" y =" 255" />
603
+ <di : waypoint x =" 2480" y =" 255" />
604
+ <di : waypoint x =" 2480" y =" 235" />
605
+ </bpmndi : BPMNEdge >
595
606
<bpmndi : BPMNShape id =" Event_1y4khet_di" bpmnElement =" endJob" >
596
607
<dc : Bounds x =" 3192" y =" 272" width =" 36" height =" 36" />
597
608
</bpmndi : BPMNShape >
598
609
<bpmndi : BPMNShape id =" Activity_11rfwl4_di" bpmnElement =" mark_import_done" >
599
610
<dc : Bounds x =" 3010" y =" 250" width =" 100" height =" 80" />
600
611
</bpmndi : BPMNShape >
612
+ <bpmndi : BPMNShape id =" Gateway_02tmvr8_di" bpmnElement =" no_transactions" isMarkerVisible =" true" >
613
+ <dc : Bounds x =" 1085" y =" 365" width =" 50" height =" 50" />
614
+ <bpmndi : BPMNLabel >
615
+ <dc : Bounds x =" 1010" y =" 383" width =" 65" height =" 14" />
616
+ </bpmndi : BPMNLabel >
617
+ </bpmndi : BPMNShape >
601
618
<bpmndi : BPMNEdge id =" Flow_1nv7ilo_di" bpmnElement =" Flow_1nv7ilo" >
602
619
<di : waypoint x =" 188" y =" 290" />
603
620
<di : waypoint x =" 280" y =" 290" />
0 commit comments