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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.7.1">
3 <bpmn:process id="ActivateVfModuleBB" name="ActivateVfModuleBB" isExecutable="true">
4 <bpmn:startEvent id="ActivateVfModuleBB_Start">
5 <bpmn:outgoing>SequenceFlow_0ieafii</bpmn:outgoing>
7 <bpmn:sequenceFlow id="SequenceFlow_0ieafii" sourceRef="ActivateVfModuleBB_Start" targetRef="CheckAuditVariable" />
8 <bpmn:endEvent id="ActivateVfModuleBB_End">
9 <bpmn:incoming>SequenceFlow_0xsp0pv</bpmn:incoming>
11 <bpmn:serviceTask id="ActivateVfModule" name=" SDNC Activate (vf module) " camunda:expression="${SDNCActivateTasks.activateVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
12 <bpmn:incoming>SequenceFlow_07ybdik</bpmn:incoming>
13 <bpmn:incoming>SequenceFlow_0ee42yq</bpmn:incoming>
14 <bpmn:outgoing>SequenceFlow_1a495wm</bpmn:outgoing>
16 <bpmn:serviceTask id="UpdateVfModuleActiveStatus" name=" AAI Update (vf module) " camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusActivateVfModule(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
17 <bpmn:incoming>SequenceFlow_1j4x1ej</bpmn:incoming>
18 <bpmn:outgoing>SequenceFlow_0xsp0pv</bpmn:outgoing>
20 <bpmn:sequenceFlow id="SequenceFlow_0xsp0pv" sourceRef="UpdateVfModuleActiveStatus" targetRef="ActivateVfModuleBB_End" />
21 <bpmn:callActivity id="CallActivity_sdncHandler" name="SDNC Activate (vfModule)" calledElement="SDNCHandler">
22 <bpmn:extensionElements>
23 <camunda:in source="SDNCRequest" target="SDNCRequest" />
24 <camunda:out source="SDNCResponse" target="SDNCResponse" />
25 <camunda:out source="WorkflowException" target="WorkflowException" />
26 <camunda:in source="mso-request-id" target="mso-request-id" />
27 </bpmn:extensionElements>
28 <bpmn:incoming>SequenceFlow_1a495wm</bpmn:incoming>
29 <bpmn:outgoing>SequenceFlow_1j4x1ej</bpmn:outgoing>
31 <bpmn:sequenceFlow id="SequenceFlow_1a495wm" sourceRef="ActivateVfModule" targetRef="CallActivity_sdncHandler" />
32 <bpmn:sequenceFlow id="SequenceFlow_1j4x1ej" sourceRef="CallActivity_sdncHandler" targetRef="UpdateVfModuleActiveStatus" />
33 <bpmn:sequenceFlow id="SequenceFlow_0xndboi" sourceRef="Setup_AAI_Inventory_Audit" targetRef="Audit_AAI_Inventory" />
34 <bpmn:serviceTask id="Setup_AAI_Inventory_Audit" name="Setup Inventory Audit Variable" camunda:expression="${AuditTasks.setupAuditVariable(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
35 <bpmn:incoming>SequenceFlow_0ghzwlo</bpmn:incoming>
36 <bpmn:outgoing>SequenceFlow_0xndboi</bpmn:outgoing>
38 <bpmn:serviceTask id="Audit_AAI_Inventory" name="Validate A&AI Inventory" camunda:type="external" camunda:topic="InventoryAddAudit">
39 <bpmn:incoming>SequenceFlow_0xndboi</bpmn:incoming>
40 <bpmn:outgoing>SequenceFlow_0ee42yq</bpmn:outgoing>
42 <bpmn:boundaryEvent id="BoundaryEvent_1nb1hw4" attachedToRef="Audit_AAI_Inventory">
43 <bpmn:outgoing>SequenceFlow_1t99ceh</bpmn:outgoing>
44 <bpmn:errorEventDefinition />
46 <bpmn:sequenceFlow id="SequenceFlow_1t99ceh" sourceRef="BoundaryEvent_1nb1hw4" targetRef="Task_0swpw3v" />
47 <bpmn:serviceTask id="Task_0swpw3v" name="Throw Exception" camunda:expression="${ExceptionBuilder.buildAndThrowWorkflowException(execution, "AuditAAIInventoryFailure", "Error Auditing Cloud Inventory in A&AI")}" camunda:resultVariable="ExceptionBuilder">
48 <bpmn:incoming>SequenceFlow_1t99ceh</bpmn:incoming>
50 <bpmn:exclusiveGateway id="ExclusiveGateway_1v8bmbu" default="SequenceFlow_07ybdik">
51 <bpmn:incoming>SequenceFlow_1xqyur9</bpmn:incoming>
52 <bpmn:outgoing>SequenceFlow_07ybdik</bpmn:outgoing>
53 <bpmn:outgoing>SequenceFlow_0ghzwlo</bpmn:outgoing>
54 </bpmn:exclusiveGateway>
55 <bpmn:sequenceFlow id="SequenceFlow_07ybdik" sourceRef="ExclusiveGateway_1v8bmbu" targetRef="ActivateVfModule" />
56 <bpmn:sequenceFlow id="SequenceFlow_0ghzwlo" sourceRef="ExclusiveGateway_1v8bmbu" targetRef="Setup_AAI_Inventory_Audit">
57 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("auditInventoryNeeded") == true}]]></bpmn:conditionExpression>
59 <bpmn:sequenceFlow id="SequenceFlow_0ee42yq" sourceRef="Audit_AAI_Inventory" targetRef="ActivateVfModule" />
60 <bpmn:serviceTask id="CheckAuditVariable" name="Check Audit Variable" camunda:expression="${AuditTasks.isAuditNeeded(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
61 <bpmn:incoming>SequenceFlow_0ieafii</bpmn:incoming>
62 <bpmn:outgoing>SequenceFlow_1xqyur9</bpmn:outgoing>
64 <bpmn:sequenceFlow id="SequenceFlow_1xqyur9" sourceRef="CheckAuditVariable" targetRef="ExclusiveGateway_1v8bmbu" />
66 <bpmn:error id="Error_0q258vt" errorCode="7000" />
67 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
68 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ActivateVfModuleBB">
69 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="ActivateVfModuleBB_Start">
70 <dc:Bounds x="73" y="102" width="36" height="36" />
72 <dc:Bounds x="46" y="138" width="90" height="12" />
75 <bpmndi:BPMNEdge id="SequenceFlow_0ieafii_di" bpmnElement="SequenceFlow_0ieafii">
76 <di:waypoint xsi:type="dc:Point" x="109" y="120" />
77 <di:waypoint xsi:type="dc:Point" x="161" y="120" />
79 <dc:Bounds x="90" y="99" width="90" height="12" />
82 <bpmndi:BPMNShape id="EndEvent_1v967li_di" bpmnElement="ActivateVfModuleBB_End">
83 <dc:Bounds x="1104" y="102" width="36" height="36" />
85 <dc:Bounds x="935" y="142" width="90" height="12" />
88 <bpmndi:BPMNShape id="ServiceTask_0hawa84_di" bpmnElement="ActivateVfModule">
89 <dc:Bounds x="539" y="80" width="100" height="80" />
91 <bpmndi:BPMNShape id="ServiceTask_175e9ul_di" bpmnElement="UpdateVfModuleActiveStatus">
92 <dc:Bounds x="952" y="80" width="100" height="80" />
94 <bpmndi:BPMNEdge id="SequenceFlow_0xsp0pv_di" bpmnElement="SequenceFlow_0xsp0pv">
95 <di:waypoint xsi:type="dc:Point" x="1052" y="120" />
96 <di:waypoint xsi:type="dc:Point" x="1104" y="120" />
98 <dc:Bounds x="1033" y="99" width="90" height="12" />
101 <bpmndi:BPMNShape id="CallActivity_03jkesd_di" bpmnElement="CallActivity_sdncHandler">
102 <dc:Bounds x="794" y="80" width="100" height="80" />
104 <bpmndi:BPMNEdge id="SequenceFlow_1a495wm_di" bpmnElement="SequenceFlow_1a495wm">
105 <di:waypoint xsi:type="dc:Point" x="639" y="120" />
106 <di:waypoint xsi:type="dc:Point" x="794" y="120" />
108 <dc:Bounds x="671.5" y="99" width="90" height="12" />
111 <bpmndi:BPMNEdge id="SequenceFlow_1j4x1ej_di" bpmnElement="SequenceFlow_1j4x1ej">
112 <di:waypoint xsi:type="dc:Point" x="894" y="120" />
113 <di:waypoint xsi:type="dc:Point" x="952" y="120" />
115 <dc:Bounds x="878" y="99" width="90" height="12" />
118 <bpmndi:BPMNEdge id="SequenceFlow_0xndboi_di" bpmnElement="SequenceFlow_0xndboi">
119 <di:waypoint xsi:type="dc:Point" x="365" y="256" />
120 <di:waypoint xsi:type="dc:Point" x="452" y="256" />
121 <di:waypoint xsi:type="dc:Point" x="452" y="256" />
122 <di:waypoint xsi:type="dc:Point" x="539" y="256" />
124 <dc:Bounds x="422" y="249.5" width="90" height="13" />
127 <bpmndi:BPMNShape id="ServiceTask_0krf1ur_di" bpmnElement="Setup_AAI_Inventory_Audit">
128 <dc:Bounds x="265" y="216" width="100" height="80" />
130 <bpmndi:BPMNShape id="ServiceTask_08rxjeb_di" bpmnElement="Audit_AAI_Inventory">
131 <dc:Bounds x="539" y="216" width="100" height="80" />
133 <bpmndi:BPMNShape id="BoundaryEvent_0s7rszu_di" bpmnElement="BoundaryEvent_1nb1hw4">
134 <dc:Bounds x="575" y="278" width="36" height="36" />
136 <dc:Bounds x="548" y="317" width="90" height="13" />
139 <bpmndi:BPMNEdge id="SequenceFlow_1t99ceh_di" bpmnElement="SequenceFlow_1t99ceh">
140 <di:waypoint xsi:type="dc:Point" x="593" y="314" />
141 <di:waypoint xsi:type="dc:Point" x="593" y="348" />
142 <di:waypoint xsi:type="dc:Point" x="593" y="348" />
143 <di:waypoint xsi:type="dc:Point" x="593" y="371" />
145 <dc:Bounds x="563" y="341.5" width="90" height="13" />
148 <bpmndi:BPMNShape id="ServiceTask_0eujimg_di" bpmnElement="Task_0swpw3v">
149 <dc:Bounds x="543" y="371" width="100" height="80" />
151 <bpmndi:BPMNShape id="ExclusiveGateway_1v8bmbu_di" bpmnElement="ExclusiveGateway_1v8bmbu" isMarkerVisible="true">
152 <dc:Bounds x="290" y="95" width="50" height="50" />
154 <dc:Bounds x="315" y="148" width="0" height="13" />
157 <bpmndi:BPMNEdge id="SequenceFlow_07ybdik_di" bpmnElement="SequenceFlow_07ybdik">
158 <di:waypoint xsi:type="dc:Point" x="340" y="120" />
159 <di:waypoint xsi:type="dc:Point" x="539" y="120" />
161 <dc:Bounds x="439.5" y="98.5" width="0" height="13" />
164 <bpmndi:BPMNEdge id="SequenceFlow_0ghzwlo_di" bpmnElement="SequenceFlow_0ghzwlo">
165 <di:waypoint xsi:type="dc:Point" x="315" y="145" />
166 <di:waypoint xsi:type="dc:Point" x="315" y="216" />
168 <dc:Bounds x="330" y="174" width="0" height="13" />
171 <bpmndi:BPMNEdge id="SequenceFlow_0ee42yq_di" bpmnElement="SequenceFlow_0ee42yq">
172 <di:waypoint xsi:type="dc:Point" x="589" y="216" />
173 <di:waypoint xsi:type="dc:Point" x="589" y="193" />
174 <di:waypoint xsi:type="dc:Point" x="589" y="193" />
175 <di:waypoint xsi:type="dc:Point" x="589" y="160" />
177 <dc:Bounds x="604" y="186.5" width="0" height="13" />
180 <bpmndi:BPMNShape id="ServiceTask_1eg5ryx_di" bpmnElement="CheckAuditVariable">
181 <dc:Bounds x="161" y="80" width="100" height="80" />
183 <bpmndi:BPMNEdge id="SequenceFlow_1xqyur9_di" bpmnElement="SequenceFlow_1xqyur9">
184 <di:waypoint xsi:type="dc:Point" x="261" y="120" />
185 <di:waypoint xsi:type="dc:Point" x="290" y="120" />
187 <dc:Bounds x="275.5" y="98.5" width="0" height="13" />
191 </bpmndi:BPMNDiagram>