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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2">
3 <bpmn:process id="DoCreateServiceInstanceRollbackV2" name="DoCreateServiceInstanceRollbackV2" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1" name="start">
5 <bpmn:outgoing>SequenceFlow_0r35zfs</bpmn:outgoing>
7 <bpmn:sequenceFlow id="SequenceFlow_0r35zfs" sourceRef="StartEvent_1" targetRef="ScriptTask_2" />
8 <bpmn:endEvent id="EndEvent_1uwvw04" name="end">
9 <bpmn:incoming>SequenceFlow_1f949uf</bpmn:incoming>
11 <bpmn:sequenceFlow id="SequenceFlow_1f949uf" sourceRef="ScriptTask_2" targetRef="EndEvent_1uwvw04" />
12 <bpmn:scriptTask id="ScriptTask_2" name="ServiceInstance Rollback (A&AI)" scriptFormat="groovy">
13 <bpmn:incoming>SequenceFlow_0r35zfs</bpmn:incoming>
14 <bpmn:outgoing>SequenceFlow_1f949uf</bpmn:outgoing>
15 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
16 def dcsir = new DoCreateServiceInstanceRollbackV2()
17 dcsir.aaiServiceInstanceRollback(execution)]]></bpmn:script>
19 <bpmn:subProcess id="SubProcess_06tpqag" triggeredByEvent="true">
20 <bpmn:startEvent id="StartEvent_1n34l5n" name="error start">
21 <bpmn:outgoing>SequenceFlow_1tnfu1n</bpmn:outgoing>
22 <bpmn:errorEventDefinition />
24 <bpmn:sequenceFlow id="SequenceFlow_1tnfu1n" sourceRef="StartEvent_1n34l5n" targetRef="Task_11sf5id" />
25 <bpmn:endEvent id="EndEvent_1ldhg44" name="end">
26 <bpmn:incoming>SequenceFlow_0hi9120</bpmn:incoming>
28 <bpmn:sequenceFlow id="SequenceFlow_0hi9120" sourceRef="Task_11sf5id" targetRef="EndEvent_1ldhg44" />
29 <bpmn:scriptTask id="Task_11sf5id" name="Rollback ERROR" scriptFormat="groovy">
30 <bpmn:incoming>SequenceFlow_1tnfu1n</bpmn:incoming>
31 <bpmn:outgoing>SequenceFlow_0hi9120</bpmn:outgoing>
32 <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
33 def dcsir = new DoCreateServiceInstanceRollbackV2()
34 dcsir.rollbackError(execution)]]></bpmn:script>
38 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
39 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateServiceInstanceRollbackV2">
40 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
41 <dc:Bounds x="223" y="102" width="36" height="36" />
43 <dc:Bounds x="230" y="138" width="22" height="12" />
46 <bpmndi:BPMNEdge id="SequenceFlow_0r35zfs_di" bpmnElement="SequenceFlow_0r35zfs">
47 <di:waypoint xsi:type="dc:Point" x="259" y="120" />
48 <di:waypoint xsi:type="dc:Point" x="325" y="120" />
50 <dc:Bounds x="247" y="99" width="90" height="12" />
53 <bpmndi:BPMNShape id="EndEvent_1uwvw04_di" bpmnElement="EndEvent_1uwvw04">
54 <dc:Bounds x="490" y="102" width="36" height="36" />
56 <dc:Bounds x="499" y="142" width="18" height="12" />
59 <bpmndi:BPMNEdge id="SequenceFlow_1f949uf_di" bpmnElement="SequenceFlow_1f949uf">
60 <di:waypoint xsi:type="dc:Point" x="425" y="120" />
61 <di:waypoint xsi:type="dc:Point" x="490" y="120" />
63 <dc:Bounds x="412.5" y="99" width="90" height="12" />
66 <bpmndi:BPMNShape id="ScriptTask_0kr8b5y_di" bpmnElement="ScriptTask_2">
67 <dc:Bounds x="325" y="80" width="100" height="80" />
69 <bpmndi:BPMNShape id="SubProcess_03s2qcr_di" bpmnElement="SubProcess_06tpqag" isExpanded="true">
70 <dc:Bounds x="200" y="216" width="350" height="200" />
72 <bpmndi:BPMNShape id="StartEvent_1nwdcsr_di" bpmnElement="StartEvent_1n34l5n">
73 <dc:Bounds x="229" y="295" width="36" height="36" />
75 <dc:Bounds x="223" y="335" width="49" height="12" />
78 <bpmndi:BPMNEdge id="SequenceFlow_1tnfu1n_di" bpmnElement="SequenceFlow_1tnfu1n">
79 <di:waypoint xsi:type="dc:Point" x="265" y="313" />
80 <di:waypoint xsi:type="dc:Point" x="318" y="313" />
82 <dc:Bounds x="291.5" y="292" width="0" height="12" />
85 <bpmndi:BPMNShape id="EndEvent_1ldhg44_di" bpmnElement="EndEvent_1ldhg44">
86 <dc:Bounds x="453" y="295" width="36" height="36" />
88 <dc:Bounds x="462" y="335" width="18" height="12" />
91 <bpmndi:BPMNEdge id="SequenceFlow_0hi9120_di" bpmnElement="SequenceFlow_0hi9120">
92 <di:waypoint xsi:type="dc:Point" x="418" y="313" />
93 <di:waypoint xsi:type="dc:Point" x="453" y="313" />
95 <dc:Bounds x="435.5" y="292" width="0" height="12" />
98 <bpmndi:BPMNShape id="ScriptTask_1w1j8ao_di" bpmnElement="Task_11sf5id">
99 <dc:Bounds x="318" y="273" width="100" height="80" />
102 </bpmndi:BPMNDiagram>