forked from camunda/camunda-bpm-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
process.bpmn
73 lines (73 loc) · 4.54 KB
/
process.bpmn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_cdut0EJ0EeWexIrq_iVegw" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">
<bpmn2:process id="process" name="Process" isExecutable="true">
<bpmn2:startEvent id="start" name="Start">
<bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
</bpmn2:startEvent>
<bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="start" targetRef="getAccounts"/>
<bpmn2:serviceTask id="getAccounts" camunda:expression="${bankCustomerService.getAccounts(execution)}" camunda:resultVariable="accounts" camunda:asyncAfter="true" camunda:asyncBefore="true" name="Get Accounts">
<bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
<bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
</bpmn2:serviceTask>
<bpmn2:boundaryEvent id="BoundaryEvent_1" name="SOAP Fault" attachedToRef="getAccounts">
<bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
<bpmn2:errorEventDefinition id="ErrorEventDefinition_1"/>
</bpmn2:boundaryEvent>
<bpmn2:endEvent id="end" name="End successful">
<bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="getAccounts" targetRef="end"/>
<bpmn2:endEvent id="EndEvent_1" name="End unsuccessful">
<bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
</bpmn2:endEvent>
<bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="BoundaryEvent_1" targetRef="EndEvent_1"/>
</bpmn2:process>
<bpmn2:error id="Error_1" errorCode="serviceException"/>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="process">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="start">
<dc:Bounds height="36.0" width="36.0" x="240.0" y="348.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="258.0" y="389.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_ServiceTask_2" bpmnElement="getAccounts">
<dc:Bounds height="80.0" width="100.0" x="360.0" y="326.0"/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_2" targetElement="_BPMNShape_ServiceTask_2">
<di:waypoint xsi:type="dc:Point" x="276.0" y="366.0"/>
<di:waypoint xsi:type="dc:Point" x="360.0" y="366.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="6.0" width="6.0" x="297.0" y="366.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_EndEvent_2" bpmnElement="end">
<dc:Bounds height="36.0" width="36.0" x="552.0" y="348.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="21.0" width="29.0" x="556.0" y="389.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_2" bpmnElement="BoundaryEvent_1">
<dc:Bounds height="36.0" width="36.0" x="389.0" y="388.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="21.0" width="76.0" x="324.0" y="432.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="_BPMNShape_EndEvent_3" bpmnElement="EndEvent_1">
<dc:Bounds height="36.0" width="36.0" x="552.0" y="460.0"/>
<bpmndi:BPMNLabel>
<dc:Bounds height="0.0" width="0.0" x="570.0" y="501.0"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ServiceTask_2" targetElement="_BPMNShape_EndEvent_2">
<di:waypoint xsi:type="dc:Point" x="460.0" y="366.0"/>
<di:waypoint xsi:type="dc:Point" x="552.0" y="366.0"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_BoundaryEvent_2" targetElement="_BPMNShape_EndEvent_3">
<di:waypoint xsi:type="dc:Point" x="407.0" y="424.0"/>
<di:waypoint xsi:type="dc:Point" x="407.0" y="478.0"/>
<di:waypoint xsi:type="dc:Point" x="552.0" y="478.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn2:definitions>