| <?xml version="1.0" encoding="UTF-8"?> |
| <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"> |
| <bpmn:process id="DoCreateServiceInstanceRollbackV2" name="DoCreateServiceInstanceRollbackV2" isExecutable="true"> |
| <bpmn:startEvent id="StartEvent_1" name="start"> |
| <bpmn:outgoing>SequenceFlow_0r35zfs</bpmn:outgoing> |
| </bpmn:startEvent> |
| <bpmn:sequenceFlow id="SequenceFlow_0r35zfs" sourceRef="StartEvent_1" targetRef="ScriptTask_2" /> |
| <bpmn:endEvent id="EndEvent_1uwvw04" name="end"> |
| <bpmn:incoming>SequenceFlow_1f949uf</bpmn:incoming> |
| </bpmn:endEvent> |
| <bpmn:sequenceFlow id="SequenceFlow_1f949uf" sourceRef="ScriptTask_2" targetRef="EndEvent_1uwvw04" /> |
| <bpmn:scriptTask id="ScriptTask_2" name="ServiceInstance Rollback (A&AI)" scriptFormat="groovy"> |
| <bpmn:incoming>SequenceFlow_0r35zfs</bpmn:incoming> |
| <bpmn:outgoing>SequenceFlow_1f949uf</bpmn:outgoing> |
| <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| def dcsir = new DoCreateServiceInstanceRollbackV2() |
| dcsir.aaiServiceInstanceRollback(execution)]]></bpmn:script> |
| </bpmn:scriptTask> |
| <bpmn:subProcess id="SubProcess_06tpqag" triggeredByEvent="true"> |
| <bpmn:startEvent id="StartEvent_1n34l5n" name="error start"> |
| <bpmn:outgoing>SequenceFlow_1tnfu1n</bpmn:outgoing> |
| <bpmn:errorEventDefinition /> |
| </bpmn:startEvent> |
| <bpmn:sequenceFlow id="SequenceFlow_1tnfu1n" sourceRef="StartEvent_1n34l5n" targetRef="Task_11sf5id" /> |
| <bpmn:endEvent id="EndEvent_1ldhg44" name="end"> |
| <bpmn:incoming>SequenceFlow_0hi9120</bpmn:incoming> |
| </bpmn:endEvent> |
| <bpmn:sequenceFlow id="SequenceFlow_0hi9120" sourceRef="Task_11sf5id" targetRef="EndEvent_1ldhg44" /> |
| <bpmn:scriptTask id="Task_11sf5id" name="Rollback ERROR" scriptFormat="groovy"> |
| <bpmn:incoming>SequenceFlow_1tnfu1n</bpmn:incoming> |
| <bpmn:outgoing>SequenceFlow_0hi9120</bpmn:outgoing> |
| <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.* |
| def dcsir = new DoCreateServiceInstanceRollbackV2() |
| dcsir.rollbackError(execution)]]></bpmn:script> |
| </bpmn:scriptTask> |
| </bpmn:subProcess> |
| </bpmn:process> |
| <bpmndi:BPMNDiagram id="BPMNDiagram_1"> |
| <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateServiceInstanceRollbackV2"> |
| <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> |
| <dc:Bounds x="223" y="102" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="230" y="138" width="22" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="SequenceFlow_0r35zfs_di" bpmnElement="SequenceFlow_0r35zfs"> |
| <di:waypoint xsi:type="dc:Point" x="259" y="120" /> |
| <di:waypoint xsi:type="dc:Point" x="325" y="120" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="247" y="99" width="90" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNShape id="EndEvent_1uwvw04_di" bpmnElement="EndEvent_1uwvw04"> |
| <dc:Bounds x="490" y="102" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="499" y="142" width="18" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="SequenceFlow_1f949uf_di" bpmnElement="SequenceFlow_1f949uf"> |
| <di:waypoint xsi:type="dc:Point" x="425" y="120" /> |
| <di:waypoint xsi:type="dc:Point" x="490" y="120" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="412.5" y="99" width="90" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNShape id="ScriptTask_0kr8b5y_di" bpmnElement="ScriptTask_2"> |
| <dc:Bounds x="325" y="80" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="SubProcess_03s2qcr_di" bpmnElement="SubProcess_06tpqag" isExpanded="true"> |
| <dc:Bounds x="200" y="216" width="350" height="200" /> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNShape id="StartEvent_1nwdcsr_di" bpmnElement="StartEvent_1n34l5n"> |
| <dc:Bounds x="229" y="295" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="223" y="335" width="49" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="SequenceFlow_1tnfu1n_di" bpmnElement="SequenceFlow_1tnfu1n"> |
| <di:waypoint xsi:type="dc:Point" x="265" y="313" /> |
| <di:waypoint xsi:type="dc:Point" x="318" y="313" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="291.5" y="292" width="0" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNShape id="EndEvent_1ldhg44_di" bpmnElement="EndEvent_1ldhg44"> |
| <dc:Bounds x="453" y="295" width="36" height="36" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="462" y="335" width="18" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNShape> |
| <bpmndi:BPMNEdge id="SequenceFlow_0hi9120_di" bpmnElement="SequenceFlow_0hi9120"> |
| <di:waypoint xsi:type="dc:Point" x="418" y="313" /> |
| <di:waypoint xsi:type="dc:Point" x="453" y="313" /> |
| <bpmndi:BPMNLabel> |
| <dc:Bounds x="435.5" y="292" width="0" height="12" /> |
| </bpmndi:BPMNLabel> |
| </bpmndi:BPMNEdge> |
| <bpmndi:BPMNShape id="ScriptTask_1w1j8ao_di" bpmnElement="Task_11sf5id"> |
| <dc:Bounds x="318" y="273" width="100" height="80" /> |
| </bpmndi:BPMNShape> |
| </bpmndi:BPMNPlane> |
| </bpmndi:BPMNDiagram> |
| </bpmn:definitions> |