1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://activiti.org/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_Wblj8GyfEeWUWLTvug7ZOg" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">
\r
3 <bpmn2:process id="ConfirmVolumeGroupName" name="ConfirmVolumeGroupName" isExecutable="true">
\r
4 <bpmn2:exclusiveGateway id="ExclusiveGateway_3" default="SequenceFlow_2">
\r
5 <bpmn2:incoming>SequenceFlow_39</bpmn2:incoming>
\r
6 <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
\r
7 <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
\r
8 </bpmn2:exclusiveGateway>
\r
9 <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="ExclusiveGateway_3" targetRef="AAIQueryFailure">
\r
10 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CVGN_queryVolumeGroupResponseCode") != 200 && execution.getVariable("CVGN_queryVolumeGroupResponseCode") != 404}]]></bpmn2:conditionExpression>
\r
11 </bpmn2:sequenceFlow>
\r
12 <bpmn2:scriptTask id="AAIQueryFailure" name="AAI Query Failure" scriptFormat="groovy">
\r
13 <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
\r
14 <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
\r
15 <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
16 def cvgn= new ConfirmVolumeGroupName()
17 cvgn.handleAAIQueryFailure(execution)]]></bpmn2:script>
\r
19 <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="AAIQueryFailure" targetRef="EndEvent_7"/>
\r
20 <bpmn2:endEvent id="EndEvent_7">
\r
21 <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
\r
22 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_68" errorRef="Error_1"/>
\r
24 <bpmn2:scriptTask id="QueryAAIForVolumeGroupId" name="Query AAI for
Volume Group Id" scriptFormat="groovy">
\r
25 <bpmn2:incoming>SequenceFlow_38</bpmn2:incoming>
\r
26 <bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>
\r
27 <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
28 def cvgn= new ConfirmVolumeGroupName()
29 cvgn.queryAAIForVolumeGroupId(execution)]]></bpmn2:script>
\r
31 <bpmn2:sequenceFlow id="SequenceFlow_39" name="" sourceRef="QueryAAIForVolumeGroupId" targetRef="ExclusiveGateway_3"/>
\r
32 <bpmn2:scriptTask id="InitializeVariables" name="Initialize Variables" scriptFormat="groovy">
\r
33 <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
\r
34 <bpmn2:outgoing>SequenceFlow_38</bpmn2:outgoing>
\r
35 <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
36 def cvgn= new ConfirmVolumeGroupName()
37 cvgn.preProcessRequest(execution)]]></bpmn2:script>
\r
39 <bpmn2:sequenceFlow id="SequenceFlow_38" name="" sourceRef="InitializeVariables" targetRef="QueryAAIForVolumeGroupId"/>
\r
40 <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ExclusiveGateway_3" targetRef="CheckAAIQueryResult"/>
\r
41 <bpmn2:scriptTask id="CheckAAIQueryResult" name="Check AAI Query Result" scriptFormat="groovy">
\r
42 <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
\r
43 <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
\r
44 <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
45 def cvgn= new ConfirmVolumeGroupName()
46 cvgn.checkAAIQueryResult(execution)]]></bpmn2:script>
\r
48 <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="CheckAAIQueryResult" targetRef="ExclusiveGateway_1"/>
\r
49 <bpmn2:scriptTask id="VolumeGroupNotInName" name="Volume Group Not In Name" scriptFormat="groovy">
\r
50 <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
\r
51 <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
\r
52 <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
53 def cvgn= new ConfirmVolumeGroupName()
54 cvgn.handleVolumeGroupNameNoMatch(execution)]]></bpmn2:script>
\r
56 <bpmn2:exclusiveGateway id="ExclusiveGateway_1" default="SequenceFlow_7">
\r
57 <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
\r
58 <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
\r
59 <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
\r
60 </bpmn2:exclusiveGateway>
\r
61 <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ExclusiveGateway_1" targetRef="EndEvent_4">
\r
62 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CVGN_volumeGroupNameMatches")==true}]]></bpmn2:conditionExpression>
\r
63 </bpmn2:sequenceFlow>
\r
64 <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="ExclusiveGateway_1" targetRef="VolumeGroupNotInName"/>
\r
65 <bpmn2:endEvent id="EndEvent_4">
\r
66 <bpmn2:extensionElements>
\r
68 <camunda:inputOutput>
\r
69 <camunda:outputParameter name="WorkflowResponse"><![CDATA[<aetgt:CreateVfModuleResponse xmlns:aetgt="http://ecomp.att.com/mso/workflow/schema/v1" xmlns:ns="http://ecomp.att.com/mso/workflow/schema/v1">
70 <ns:response>SUCCESS</ns:response>
71 </aetgt:CreateVfModuleResponse>]]></camunda:outputParameter>
\r
72 </camunda:inputOutput>
\r
73 </camunda:connector>
\r
74 </bpmn2:extensionElements>
\r
75 <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
\r
76 <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2"/>
\r
78 <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="VolumeGroupNotInName" targetRef="EndEvent_1"/>
\r
79 <bpmn2:endEvent id="EndEvent_1">
\r
80 <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
\r
81 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_70" errorRef="Error_1"/>
\r
83 <bpmn2:startEvent id="StartEvent_1">
\r
84 <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
\r
86 <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="InitializeVariables"/>
\r
88 <bpmn2:message id="Message_1" name="ConfirmVolumeGroupNameRequest"/>
\r
89 <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>
\r
90 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
\r
91 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateAAIVfModule">
\r
92 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_37" bpmnElement="StartEvent_1">
\r
93 <dc:Bounds height="36.0" width="36.0" x="43.0" y="199.0"/>
\r
95 <dc:Bounds height="0.0" width="0.0" x="61.0" y="240.0"/>
\r
98 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_22" bpmnElement="InitializeVariables">
\r
99 <dc:Bounds height="80.0" width="100.0" x="204.0" y="178.0"/>
\r
100 </bpmndi:BPMNShape>
\r
101 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_37" targetElement="_BPMNShape_ScriptTask_22">
\r
102 <di:waypoint xsi:type="dc:Point" x="79.0" y="217.0"/>
\r
103 <di:waypoint xsi:type="dc:Point" x="120.0" y="217.0"/>
\r
104 <di:waypoint xsi:type="dc:Point" x="120.0" y="218.0"/>
\r
105 <di:waypoint xsi:type="dc:Point" x="204.0" y="218.0"/>
\r
107 <dc:Bounds height="6.0" width="6.0" x="101.0" y="217.0"/>
\r
108 </bpmndi:BPMNLabel>
\r
110 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_92" bpmnElement="EndEvent_4">
\r
111 <dc:Bounds height="36.0" width="36.0" x="912.0" y="199.0"/>
\r
113 <dc:Bounds height="0.0" width="0.0" x="930.0" y="240.0"/>
\r
114 </bpmndi:BPMNLabel>
\r
115 </bpmndi:BPMNShape>
\r
116 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_86" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">
\r
117 <dc:Bounds height="50.0" width="50.0" x="468.0" y="191.0"/>
\r
119 <dc:Bounds height="0.0" width="0.0" x="493.0" y="246.0"/>
\r
120 </bpmndi:BPMNLabel>
\r
121 </bpmndi:BPMNShape>
\r
122 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_155" bpmnElement="AAIQueryFailure">
\r
123 <dc:Bounds height="80.0" width="100.0" x="518.0" y="297.0"/>
\r
124 </bpmndi:BPMNShape>
\r
125 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ExclusiveGateway_86" targetElement="_BPMNShape_ScriptTask_155">
\r
126 <di:waypoint xsi:type="dc:Point" x="493.0" y="241.0"/>
\r
127 <di:waypoint xsi:type="dc:Point" x="493.0" y="259.0"/>
\r
128 <di:waypoint xsi:type="dc:Point" x="568.0" y="259.0"/>
\r
129 <di:waypoint xsi:type="dc:Point" x="568.0" y="297.0"/>
\r
131 <dc:Bounds height="6.0" width="6.0" x="547.0" y="259.0"/>
\r
132 </bpmndi:BPMNLabel>
\r
134 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_160" bpmnElement="EndEvent_7">
\r
135 <dc:Bounds height="36.0" width="36.0" x="550.0" y="416.0"/>
\r
137 <dc:Bounds height="0.0" width="0.0" x="568.0" y="457.0"/>
\r
138 </bpmndi:BPMNLabel>
\r
139 </bpmndi:BPMNShape>
\r
140 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_ScriptTask_155" targetElement="_BPMNShape_EndEvent_160">
\r
141 <di:waypoint xsi:type="dc:Point" x="568.0" y="377.0"/>
\r
142 <di:waypoint xsi:type="dc:Point" x="568.0" y="416.0"/>
\r
144 <dc:Bounds height="6.0" width="6.0" x="565.0" y="388.0"/>
\r
145 </bpmndi:BPMNLabel>
\r
147 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_160" bpmnElement="QueryAAIForVolumeGroupId">
\r
148 <dc:Bounds height="80.0" width="100.0" x="336.0" y="178.0"/>
\r
149 </bpmndi:BPMNShape>
\r
150 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_38" sourceElement="_BPMNShape_ScriptTask_22" targetElement="_BPMNShape_ScriptTask_160">
\r
151 <di:waypoint xsi:type="dc:Point" x="304.0" y="218.0"/>
\r
152 <di:waypoint xsi:type="dc:Point" x="336.0" y="218.0"/>
\r
154 <dc:Bounds height="6.0" width="6.0" x="324.0" y="218.0"/>
\r
155 </bpmndi:BPMNLabel>
\r
157 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_39" bpmnElement="SequenceFlow_39" sourceElement="_BPMNShape_ScriptTask_160" targetElement="_BPMNShape_ExclusiveGateway_86">
\r
158 <di:waypoint xsi:type="dc:Point" x="436.0" y="218.0"/>
\r
159 <di:waypoint xsi:type="dc:Point" x="452.0" y="218.0"/>
\r
160 <di:waypoint xsi:type="dc:Point" x="452.0" y="216.0"/>
\r
161 <di:waypoint xsi:type="dc:Point" x="468.0" y="216.0"/>
\r
163 <dc:Bounds height="6.0" width="6.0" x="449.0" y="217.0"/>
\r
164 </bpmndi:BPMNLabel>
\r
166 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_162" bpmnElement="EndEvent_1">
\r
167 <dc:Bounds height="36.0" width="36.0" x="720.0" y="415.0"/>
\r
169 <dc:Bounds height="0.0" width="0.0" x="738.0" y="456.0"/>
\r
170 </bpmndi:BPMNLabel>
\r
171 </bpmndi:BPMNShape>
\r
172 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_177" bpmnElement="CheckAAIQueryResult">
\r
173 <dc:Bounds height="80.0" width="100.0" x="624.0" y="177.0"/>
\r
174 </bpmndi:BPMNShape>
\r
175 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ExclusiveGateway_86" targetElement="_BPMNShape_ScriptTask_177">
\r
176 <di:waypoint xsi:type="dc:Point" x="518.0" y="216.0"/>
\r
177 <di:waypoint xsi:type="dc:Point" x="551.0" y="216.0"/>
\r
178 <di:waypoint xsi:type="dc:Point" x="551.0" y="217.0"/>
\r
179 <di:waypoint xsi:type="dc:Point" x="624.0" y="217.0"/>
\r
181 <dc:Bounds height="6.0" width="6.0" x="548.0" y="217.0"/>
\r
182 </bpmndi:BPMNLabel>
\r
184 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_103" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
\r
185 <dc:Bounds height="50.0" width="50.0" x="801.0" y="191.0"/>
\r
187 <dc:Bounds height="0.0" width="0.0" x="826.0" y="246.0"/>
\r
188 </bpmndi:BPMNLabel>
\r
189 </bpmndi:BPMNShape>
\r
190 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_177" targetElement="_BPMNShape_ExclusiveGateway_103">
\r
191 <di:waypoint xsi:type="dc:Point" x="724.0" y="217.0"/>
\r
192 <di:waypoint xsi:type="dc:Point" x="762.0" y="217.0"/>
\r
193 <di:waypoint xsi:type="dc:Point" x="762.0" y="216.0"/>
\r
194 <di:waypoint xsi:type="dc:Point" x="801.0" y="216.0"/>
\r
196 <dc:Bounds height="6.0" width="6.0" x="735.0" y="217.0"/>
\r
197 </bpmndi:BPMNLabel>
\r
199 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ExclusiveGateway_103" targetElement="_BPMNShape_EndEvent_92">
\r
200 <di:waypoint xsi:type="dc:Point" x="851.0" y="216.0"/>
\r
201 <di:waypoint xsi:type="dc:Point" x="869.0" y="216.0"/>
\r
202 <di:waypoint xsi:type="dc:Point" x="869.0" y="217.0"/>
\r
203 <di:waypoint xsi:type="dc:Point" x="912.0" y="217.0"/>
\r
205 <dc:Bounds height="6.0" width="6.0" x="855.0" y="216.0"/>
\r
206 </bpmndi:BPMNLabel>
\r
208 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_179" bpmnElement="VolumeGroupNotInName">
\r
209 <dc:Bounds height="80.0" width="100.0" x="688.0" y="297.0"/>
\r
210 </bpmndi:BPMNShape>
\r
211 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ExclusiveGateway_103" targetElement="_BPMNShape_ScriptTask_179">
\r
212 <di:waypoint xsi:type="dc:Point" x="826.0" y="241.0"/>
\r
213 <di:waypoint xsi:type="dc:Point" x="826.0" y="269.0"/>
\r
214 <di:waypoint xsi:type="dc:Point" x="738.0" y="269.0"/>
\r
215 <di:waypoint xsi:type="dc:Point" x="738.0" y="297.0"/>
\r
217 <dc:Bounds height="6.0" width="6.0" x="822.0" y="269.0"/>
\r
218 </bpmndi:BPMNLabel>
\r
220 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_179" targetElement="_BPMNShape_EndEvent_162">
\r
221 <di:waypoint xsi:type="dc:Point" x="738.0" y="377.0"/>
\r
222 <di:waypoint xsi:type="dc:Point" x="738.0" y="415.0"/>
\r
224 <dc:Bounds height="6.0" width="6.0" x="735.0" y="391.0"/>
\r
225 </bpmndi:BPMNLabel>
\r
227 </bpmndi:BPMNPlane>
\r
228 </bpmndi:BPMNDiagram>
\r