[SO] SO changes to support Delete AS
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / CnfDeleteBB.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" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0lxlukw" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.15.0">
3   <bpmn:process id="CnfDeleteBB" name="Invoke CNFM to Delete ASInstance" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_0ru3x55">
5       <bpmn:outgoing>SequenceFlow_016sgof</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="EndEvent_001k15i">
8       <bpmn:incoming>Flow_1s7gtbc</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:serviceTask id="invokeCnfmToDeleteAsInstnace" name="Invoke CNFM to DeleteASInstance" camunda:expression="${CnfDeleteTask.invokeCnfmToDeleteAsInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
11       <bpmn:incoming>Flow_00hczi1</bpmn:incoming>
12       <bpmn:outgoing>Flow_1s7gtbc</bpmn:outgoing>
13     </bpmn:serviceTask>
14     <bpmn:sequenceFlow id="SequenceFlow_016sgof" sourceRef="StartEvent_0ru3x55" targetRef="Activity_1uqgwny" />
15     <bpmn:sequenceFlow id="Flow_1s7gtbc" sourceRef="invokeCnfmToDeleteAsInstnace" targetRef="EndEvent_001k15i" />
16     <bpmn:serviceTask id="invokeCnfmToTerminateAsInstnace" name="Invoke CNFM to TerminateAsInstnace" camunda:expression="${CnfDeleteTask.invokeCnfmToTerminateAsInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
17       <bpmn:incoming>Flow_19rm5pn</bpmn:incoming>
18       <bpmn:outgoing>Flow_0td4p22</bpmn:outgoing>
19     </bpmn:serviceTask>
20     <bpmn:sequenceFlow id="Flow_19rm5pn" sourceRef="Activity_1uqgwny" targetRef="invokeCnfmToTerminateAsInstnace" />
21     <bpmn:serviceTask id="Activity_1uqgwny" name="Invoke Create TerminateAsRequest" camunda:expression="${CnfDeleteTask.createTerminateAsRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
22       <bpmn:incoming>SequenceFlow_016sgof</bpmn:incoming>
23       <bpmn:outgoing>Flow_19rm5pn</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:sequenceFlow id="Flow_0td4p22" sourceRef="invokeCnfmToTerminateAsInstnace" targetRef="Monitor_Termination_Job" />
26     <bpmn:callActivity id="Monitor_Termination_Job" name="Monitor Termination Job" calledElement="MonitorCnfmJob">
27       <bpmn:extensionElements>
28         <camunda:out source="WorkflowException" target="WorkflowException" />
29         <camunda:in source="mso-request-id" target="mso-request-id" />
30         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
31         <camunda:out source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
32         <camunda:in source="CnfmStatusCheckUrl" target="CnfmStatusCheckUrl" />
33         <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
34         <camunda:in source="MonitorJobName" target="MonitorJobName" />
35       </bpmn:extensionElements>
36       <bpmn:incoming>Flow_0td4p22</bpmn:incoming>
37       <bpmn:outgoing>Flow_00hczi1</bpmn:outgoing>
38     </bpmn:callActivity>
39     <bpmn:sequenceFlow id="Flow_00hczi1" sourceRef="Monitor_Termination_Job" targetRef="invokeCnfmToDeleteAsInstnace" />
40   </bpmn:process>
41   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
42     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CnfDeleteBB">
43       <bpmndi:BPMNEdge id="Flow_00hczi1_di" bpmnElement="Flow_00hczi1">
44         <di:waypoint x="640" y="140" />
45         <di:waypoint x="710" y="140" />
46       </bpmndi:BPMNEdge>
47       <bpmndi:BPMNEdge id="Flow_0td4p22_di" bpmnElement="Flow_0td4p22">
48         <di:waypoint x="480" y="140" />
49         <di:waypoint x="540" y="140" />
50       </bpmndi:BPMNEdge>
51       <bpmndi:BPMNEdge id="Flow_19rm5pn_di" bpmnElement="Flow_19rm5pn">
52         <di:waypoint x="320" y="140" />
53         <di:waypoint x="380" y="140" />
54       </bpmndi:BPMNEdge>
55       <bpmndi:BPMNEdge id="Flow_1s7gtbc_di" bpmnElement="Flow_1s7gtbc">
56         <di:waypoint x="810" y="140" />
57         <di:waypoint x="1022" y="140" />
58       </bpmndi:BPMNEdge>
59       <bpmndi:BPMNEdge id="SequenceFlow_016sgof_di" bpmnElement="SequenceFlow_016sgof">
60         <di:waypoint x="178" y="140" />
61         <di:waypoint x="220" y="140" />
62       </bpmndi:BPMNEdge>
63       <bpmndi:BPMNShape id="StartEvent_0ru3x55_di" bpmnElement="StartEvent_0ru3x55">
64         <dc:Bounds x="142" y="122" width="36" height="36" />
65       </bpmndi:BPMNShape>
66       <bpmndi:BPMNShape id="EndEvent_001k15i_di" bpmnElement="EndEvent_001k15i">
67         <dc:Bounds x="1022" y="122" width="36" height="36" />
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNShape id="ServiceTask_11_di" bpmnElement="invokeCnfmToDeleteAsInstnace">
70         <dc:Bounds x="710" y="100" width="100" height="80" />
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNShape id="Activity_06oby7l_di" bpmnElement="invokeCnfmToTerminateAsInstnace">
73         <dc:Bounds x="380" y="100" width="100" height="80" />
74       </bpmndi:BPMNShape>
75       <bpmndi:BPMNShape id="Activity_0ziu33x_di" bpmnElement="Activity_1uqgwny">
76         <dc:Bounds x="220" y="100" width="100" height="80" />
77       </bpmndi:BPMNShape>
78       <bpmndi:BPMNShape id="CallActivity_0fuqfru_di" bpmnElement="Monitor_Termination_Job">
79         <dc:Bounds x="540" y="100" width="100" height="80" />
80       </bpmndi:BPMNShape>
81     </bpmndi:BPMNPlane>
82   </bpmndi:BPMNDiagram>
83 </bpmn:definitions>