Implement Building Blocks for CNF AAI update
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / UpdateCnfAai.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
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:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_0fq2csp" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.0.0">
3   <bpmn:process id="UpdateCnfAai" name="UpdateCnfAai" isExecutable="true">
4     <bpmn:startEvent id="UpdateCnfAai_start" name="UpdateCnfAai_start">
5       <bpmn:outgoing>Flow_17d9zpo</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Activity_0tu6gf2" name="Prepare for Cnf AAI Update Call" camunda:expression="${CnfAdapterCreateTasks.prepareForCnfUpdateOrDelete(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>Flow_17d9zpo</bpmn:incoming>
9       <bpmn:outgoing>Flow_01esiz5</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:callActivity id="Activity_0gpndy6" name="Call CNFAdapterAsync" calledElement="CNFAdapterAsyncCall">
12       <bpmn:extensionElements>
13         <camunda:in source="apiPath" target="apiPath" />
14         <camunda:in source="cnfRequestPayload" target="cnfRequestPayload" />
15         <camunda:in source="correlator" target="correlator" />
16         <camunda:in source="timeout" target="timeout" />
17         <camunda:in source="messageType" target="messageType" />
18         <camunda:in source="true" target="isDebugLogEnabled" />
19         <camunda:out source="WorkflowException" target="WorkflowException" />
20         <camunda:out source="asyncCallbackResponse" target="asyncCallbackResponse" />
21       </bpmn:extensionElements>
22       <bpmn:incoming>Flow_01esiz5</bpmn:incoming>
23       <bpmn:outgoing>Flow_0tm9une</bpmn:outgoing>
24     </bpmn:callActivity>
25     <bpmn:serviceTask id="Activity_0npavuq" name="Process Response" camunda:expression="${CnfAdapterCreateTasks.processCnfUpdateOrDeleteAsyncResponse(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
26       <bpmn:incoming>Flow_0tm9une</bpmn:incoming>
27       <bpmn:outgoing>Flow_09shgs4</bpmn:outgoing>
28     </bpmn:serviceTask>
29     <bpmn:sequenceFlow id="Flow_01esiz5" sourceRef="Activity_0tu6gf2" targetRef="Activity_0gpndy6" />
30     <bpmn:sequenceFlow id="Flow_0tm9une" sourceRef="Activity_0gpndy6" targetRef="Activity_0npavuq" />
31     <bpmn:endEvent id="UpdateCnfAai_end" name="UpdateCnfAai_end">
32       <bpmn:incoming>Flow_09shgs4</bpmn:incoming>
33     </bpmn:endEvent>
34     <bpmn:sequenceFlow id="Flow_09shgs4" sourceRef="Activity_0npavuq" targetRef="UpdateCnfAai_end" />
35     <bpmn:sequenceFlow id="Flow_17d9zpo" sourceRef="UpdateCnfAai_start" targetRef="Activity_0tu6gf2" />
36     <bpmn:subProcess id="Activity_09xxfqs" name="Error Handling&#10;&#10;" triggeredByEvent="true">
37       <bpmn:startEvent id="Event_1t2fty4">
38         <bpmn:outgoing>Flow_1js1xt1</bpmn:outgoing>
39         <bpmn:errorEventDefinition id="ErrorEventDefinition_1cxu4n4" />
40       </bpmn:startEvent>
41       <bpmn:endEvent id="Event_1xa7ebu">
42         <bpmn:incoming>Flow_1js1xt1</bpmn:incoming>
43         <bpmn:terminateEventDefinition id="TerminateEventDefinition_149n8uo" />
44       </bpmn:endEvent>
45       <bpmn:sequenceFlow id="Flow_1js1xt1" sourceRef="Event_1t2fty4" targetRef="Event_1xa7ebu" />
46     </bpmn:subProcess>
47   </bpmn:process>
48   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
49     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="UpdateCnfAai">
50       <bpmndi:BPMNEdge id="Flow_01esiz5_di" bpmnElement="Flow_01esiz5">
51         <di:waypoint x="410" y="120" />
52         <di:waypoint x="500" y="120" />
53       </bpmndi:BPMNEdge>
54       <bpmndi:BPMNEdge id="Flow_0tm9une_di" bpmnElement="Flow_0tm9une">
55         <di:waypoint x="600" y="120" />
56         <di:waypoint x="660" y="120" />
57       </bpmndi:BPMNEdge>
58       <bpmndi:BPMNEdge id="Flow_09shgs4_di" bpmnElement="Flow_09shgs4">
59         <di:waypoint x="760" y="120" />
60         <di:waypoint x="842" y="120" />
61       </bpmndi:BPMNEdge>
62       <bpmndi:BPMNEdge id="Flow_17d9zpo_di" bpmnElement="Flow_17d9zpo">
63         <di:waypoint x="258" y="120" />
64         <di:waypoint x="310" y="120" />
65       </bpmndi:BPMNEdge>
66       <bpmndi:BPMNShape id="Activity_0tu6gf2_di" bpmnElement="Activity_0tu6gf2">
67         <dc:Bounds x="310" y="80" width="100" height="80" />
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNShape id="Event_0gv6qf0_di" bpmnElement="UpdateCnfAai_end">
70         <dc:Bounds x="842" y="102" width="36" height="36" />
71         <bpmndi:BPMNLabel>
72           <dc:Bounds x="820" y="145" width="81" height="27" />
73         </bpmndi:BPMNLabel>
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="UpdateCnfAai_start">
76         <dc:Bounds x="222" y="102" width="36" height="36" />
77         <bpmndi:BPMNLabel>
78           <dc:Bounds x="195" y="145" width="90" height="27" />
79         </bpmndi:BPMNLabel>
80       </bpmndi:BPMNShape>
81       <bpmndi:BPMNShape id="Activity_0gpndy6_di" bpmnElement="Activity_0gpndy6">
82         <dc:Bounds x="500" y="80" width="100" height="80" />
83       </bpmndi:BPMNShape>
84       <bpmndi:BPMNShape id="Activity_0npavuq_di" bpmnElement="Activity_0npavuq">
85         <dc:Bounds x="660" y="80" width="100" height="80" />
86       </bpmndi:BPMNShape>
87       <bpmndi:BPMNShape id="Activity_09xxfqs_di" bpmnElement="Activity_09xxfqs" isExpanded="true">
88         <dc:Bounds x="360" y="250" width="460" height="135" />
89       </bpmndi:BPMNShape>
90       <bpmndi:BPMNEdge id="Flow_1js1xt1_di" bpmnElement="Flow_1js1xt1">
91         <di:waypoint x="478" y="324" />
92         <di:waypoint x="712" y="324" />
93       </bpmndi:BPMNEdge>
94       <bpmndi:BPMNShape id="Event_1t2fty4_di" bpmnElement="Event_1t2fty4">
95         <dc:Bounds x="442" y="306" width="36" height="36" />
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNShape id="Event_1xa7ebu_di" bpmnElement="Event_1xa7ebu">
98         <dc:Bounds x="712" y="306" width="36" height="36" />
99       </bpmndi:BPMNShape>
100     </bpmndi:BPMNPlane>
101   </bpmndi:BPMNDiagram>
102 </bpmn:definitions>