-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathOnBoardSDDC.xml
362 lines (362 loc) · 34.3 KB
/
OnBoardSDDC.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
<?xml version="1.0" encoding="UTF-8"?>
<Workflow_WorkflowDefinition apiMode="0" config="<configuration />"
description="Workflow to create SDDC" executeOnWeb="0"
inputs="<inputs><BucketName class="java.lang.String" _list_="false" /><EnableDDB class="java.lang.Boolean" _list_="false">true</EnableDDB><ServiceHost class="java.lang.String" _list_="false" /><CompanyName class="java.lang.String" _list_="false" /><SDDCName class="java.lang.String" _list_="false" /><SDDCUserName class="java.lang.String" _list_="false" /><PlanName class="java.lang.String" _list_="false" /><RetentionPeriod class="java.lang.String" _list_="false">30</RetentionPeriod><BackupFrequency class="java.lang.String" _list_="false">1 days</BackupFrequency><StartTime class="java.lang.String" _list_="false">21:00</StartTime><TagName class="java.lang.String" _list_="false" /><StoragePoolName class="java.lang.String" _list_="false" /><NoOfNodes class="java.lang.Integer" _list_="false" /><ovaPath class="java.lang.String" _list_="false" /><ProxyClient class="commvault.msgs.CvEntities.ClientEntity" _list_="false"><clientName class="java.lang.String" _list_="false" /><displayName class="java.lang.String" _list_="false" /><clientId class="java.lang.Integer" _list_="false" /></ProxyClient><vmHost class="java.lang.String" _list_="false" /><vmNetwork class="java.lang.String" _list_="false" /><dataStore class="java.lang.String" _list_="false" /><dataCenterName class="java.lang.String" _list_="false" /><resourcePool class="java.lang.String" _list_="false" /><SecretKey class="workflow.types.EncryptedString" _list_="false" /><AccessKey class="workflow.types.EncryptedString" _list_="false" /><ExecutedFromAPI class="java.lang.String" _list_="false" /><SDDCPassword class="workflow.types.EncryptedString" _list_="false" /><contentLibraryName class="java.lang.String" _list_="false" /><DMZClientGroup class="java.lang.String" _list_="false" /><vmName class="java.lang.String" _list_="false"></vmName></inputs>"
interactive="0" isHtmlDescription="0" manualPercentageComplete="1"
name="OnBoardSDDC" outputs="<outputs />" revision="$Revision: $"
tags="" uniqueGuid="3ebb1e14-c50d-4468-9e7a-72890f86ba30"
variables="<variables><OrganizationId class="java.lang.String" _list_="false" /></variables>"
webHidden="0" workflowId="0">
<schema>
<outputs className="" name="outputs" type=""/>
<variables attribute="0" className="" name="variables" type="">
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" hidden="0"
inputType="java.lang.String" listType="0"
name="OrganizationId" type="{http://www.w3.org/2001/XMLSchema}string"/>
</variables>
<inputs attribute="0" className="" name="inputs" type="">
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="StoragePoolName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="BucketName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.Boolean"
controlHidden="0" controlType="5" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.Boolean" listType="0"
maximumValue="" minimumValue="" name="EnableDDB"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<children attribute="0"
className="workflow.types.EncryptedString"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="workflow.types.EncryptedString" listType="0"
maximumValue="" minimumValue="" name="SecretKey"
readOnly="0" required="1" searchable="0" type="{workflow.types}EncryptedString"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="ServiceHost"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0"
className="workflow.types.EncryptedString"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="workflow.types.EncryptedString" listType="0"
maximumValue="" minimumValue="" name="AccessKey"
readOnly="0" required="1" searchable="0" type="{workflow.types}EncryptedString"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="CompanyName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="SDDCName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="SDDCUserName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0"
className="workflow.types.EncryptedString"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="workflow.types.EncryptedString" listType="0"
maximumValue="" minimumValue="" name="SDDCPassword"
readOnly="0" required="1" searchable="0" type="{workflow.types}EncryptedString"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="PlanName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0" inputType="java.lang.String"
listType="0" name="RetentionPeriod" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0" inputType="java.lang.String"
listType="0" name="BackupFrequency" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0" inputType="java.lang.String"
listType="0" name="StartTime" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="TagName"
readOnly="0" required="1" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.Integer"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0"
inputType="java.lang.Integer" listType="0"
name="NoOfNodes" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
hidden="0" inputType="java.lang.String" listType="0"
name="ovaPath" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0"
className="commvault.msgs.CvEntities.ClientEntity"
controlType="2" defaultValue="" displayName=""
hidden="0"
inputType="commvault.msgs.CvEntities.ClientEntity"
listType="0" name="ProxyClient" type="{commvault.msgs.CvEntities}ClientEntity">
<children attribute="0" className="java.lang.String"
defaultValue="" inputType="java.lang.String"
listType="0" name="clientName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
defaultValue="" inputType="java.lang.String"
listType="0" name="displayName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.Integer"
defaultValue="" inputType="java.lang.Integer"
listType="0" name="clientId" type="{http://www.w3.org/2001/XMLSchema}integer"/>
</children>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="ESX/Cluster" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="vmHost"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="Network" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="vmNetwork"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="Datastore" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="dataStore"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="SDDC Name" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="dataCenterName"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="0" controlType="0" defaultValue=""
displayName="ResourcePool" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="resourcePool"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlHidden="1" controlType="0" defaultValue=""
displayName="" documentation="" hidden="0"
inputType="java.lang.String" listType="0"
maximumValue="" minimumValue="" name="ExecutedFromAPI"
readOnly="0" required="0" searchable="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0" inputType="java.lang.String"
listType="0" name="contentLibraryName" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" hidden="0"
inputType="java.lang.String" listType="0"
name="DMZClientGroup" type="{http://www.w3.org/2001/XMLSchema}string"/>
<children attribute="0" className="java.lang.String"
controlType="0" defaultValue="" displayName=""
documentation="" hidden="0" inputType="java.lang.String"
listType="0" name="vmName" readOnly="0" type="{http://www.w3.org/2001/XMLSchema}string"/>
</inputs>
<config className="" name="configuration" type=""/>
</schema>
<Start commented="0" continueOnFailure="0" created="0"
description="" displayName="Start" height="36" interactive="0"
jobMode="0" name="Start" originalStyle="" skipAttempt="0"
style="image;image=/images/jgraphx/house.png"
uniqueName="Start_1" waitSetting="0" width="58" x="45" y="41">
<inputs val="<inputs />"/>
<transition activity="CreateVirtualizationClient_2"
commented="0" description="" originalStyle="" points=""
sourceX="74" sourceY="59" status="0" style="defaultEdge"
targetX="86" targetY="138" transitionIndex="0" x="0" y="0">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Start>
<Activity commented="0" continueOnFailure="0"
created="1589988314962" description="Workflow to create plans"
displayName="CreatePlan" height="34" interactive="0" jobMode="0"
name="CreatePlan" namespaceUri="commvault.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.ExecuteWorkflow"
uniqueName="CreatePlan_1" waitSetting="0" width="100" x="34" y="247">
<onExit language="1" script="workflow.setCompletionPercentage(75);"/>
<inputs val="<inputs><PlanName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/PlanName}</PlanName><Storage class="java.lang.String" _list_="false">xpath:{/workflow/inputs/StoragePoolName}</Storage><RetentionPeriod class="java.lang.String" _list_="false">xpath:{/workflow/inputs/RetentionPeriod}</RetentionPeriod><BackupFrequency class="java.lang.String" _list_="false">xpath:{/workflow/inputs/BackupFrequency}</BackupFrequency><StartTime class="java.lang.String" _list_="false">xpath:{/workflow/inputs/StartTime}</StartTime><CompanyName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/CompanyName}</CompanyName></inputs>"/>
<transition activity="CommServDBQuery_1" commented="0"
description="" originalStyle="" points="" sourceX="84"
sourceY="264" status="0" style="defaultEdge" targetX="93"
targetY="330" transitionIndex="0" x="0" y="0">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1589992240202" description="Create Cloud Library "
displayName="CreateCloudLibrary" height="34" interactive="0"
jobMode="0" name="CreateCloudLibrary"
namespaceUri="commvault.workflow.activities" originalStyle=""
skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.ExecuteWorkflow"
uniqueName="CreateCloudLibrary_4" waitSetting="0" width="140"
x="20" y="184">
<onExit language="1" script="workflow.setCompletionPercentage(50);"/>
<inputs val="<inputs><BucketName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/BucketName}</BucketName><MediaAgentName class="java.lang.String" _list_="false">xpath:{/workflow/CreateVirtualizationClient_2/MAList}</MediaAgentName><SecretKey class="workflow.types.EncryptedString" _list_="false">xpath:{/workflow/inputs/SecretKey}</SecretKey><ServiceHost class="java.lang.String" _list_="false">xpath:{/workflow/inputs/ServiceHost}</ServiceHost><AccessKey class="workflow.types.EncryptedString" _list_="false">xpath:{/workflow/inputs/AccessKey}</AccessKey><StoragePoolName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/StoragePoolName}</StoragePoolName><EnableDDB class="java.lang.Boolean" _list_="false">xpath:{/workflow/inputs/EnableDDB}</EnableDDB><CompanyName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/CompanyName}</CompanyName><ExecutedFromAPI class="java.lang.String" _list_="false">xpath:{/workflow/inputs/ExecutedFromAPI}</ExecutedFromAPI></inputs>"/>
<transition activity="CreatePlan_1" commented="0" description=""
originalStyle="" points="" sourceX="90" sourceY="201"
status="0" style="defaultEdge" targetX="83" targetY="270"
transitionIndex="0" x="0" y="0">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1589992414891" description="performs http operations"
displayName="Create VM groups" height="34" interactive="0"
jobMode="0" name="HttpClient"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.HttpClientActivity"
uniqueName="HttpClient_1" waitSetting="0" width="132" x="254" y="124">
<inputs val="<inputs><request><url>/Subclient</url><method>POST</method><postType>Raw</postType><postContent>&lt;App_CreateSubClientRequest&gt;
 &lt;subClientProperties vmContentOperationType="2"&gt;
 &lt;subClientEntity clientName= "xpath:{/workflow/inputs/CompanyName}_xpath:{/workflow/inputs/SDDCName}" applicationId="106" appName="Virtual Server" subclientName="xpath:{/workflow/inputs/CompanyName}_xpath:{/workflow/inputs/SDDCName}_subclient" /&gt;
 &lt;commonProperties enableBackup="1" isSnapbackupEnabled="0" numberOfBackupStreams="5"&gt;
 &lt;snapCopyInfo isSnapBackupEnabled="0" transportModeForVMWare="0" /&gt;
 &lt;/commonProperties&gt;
 &lt;vmContent&gt;
 &lt;!--&lt;children allOrAnyChildren="1" name="" type="34" path="" displayName="xpath:{/workflow/inputs/TagName}" equalsOrNotEquals="1"/&gt;--&gt;
 &lt;children allOrAnyChildren="1" name="" type="34" path="" displayName="xpath:{/workflow/inputs/TagName}" equalsOrNotEquals="1"/&gt;
 &lt;/vmContent&gt;
 &lt;vsaSubclientProp quiesceGuestFileSystemAndApplications="1" autoDetectVMOwner="0" /&gt;
 &lt;planEntity planName="xpath:{/workflow/inputs/PlanName}" /&gt;
 &lt;/subClientProperties&gt;
&lt;/App_CreateSubClientRequest&gt;</postContent><postContentType>application/xml; charset=UTF-8</postContentType><headers><name>Authtoken</name><value>QSDKONLY xpath:{/workflow/system/token}</value></headers><headers><name>Accept</name><value>application/xml</value></headers></request></inputs>"/>
<transition activity="XPathQuery_1" commented="0" description=""
originalStyle="" points="" sourceX="320" sourceY="141"
status="0" style="defaultEdge" targetX="313" targetY="204"
transitionIndex="0" x="-26" y="7">
<condition script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590038316714"
description="retrieves a list of values from xml"
displayName="XPathQuery" height="34" interactive="0" jobMode="0"
name="XPathQuery"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.XMLQueryActivity"
uniqueName="XPathQuery_1" waitSetting="0" width="100" x="263" y="187">
<inputs val="<inputs><xml class="java.lang.String" _list_="false">xpath:{/workflow/HttpClient_1/output}</xml><xpath class="java.lang.String" _list_="false">/App_CreateSubClientResponse/response/@errorCode</xpath><outputType class="workflow.types.SimpleType" _list_="false">Integer</outputType><outputAsList class="java.lang.Boolean" _list_="false">false</outputAsList></inputs>"/>
<transition activity="XPathQuery_2" commented="0" description=""
originalStyle="" points="" sourceX="313" sourceY="204"
status="0" style="defaultEdge" targetX="314" targetY="270"
transitionIndex="0" x="-26" y="7">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
xpath:{/workflow/XPathQuery_1/result}!=0;"/>
</transition>
<transition activity="WorkflowEnd_2" commented="0"
description="" originalStyle="" points="" sourceX="313"
sourceY="204" status="0" style="defaultEdge" targetX="456"
targetY="209" transitionIndex="0" x="-183" y="-1">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
xpath:{/workflow/XPathQuery_1/result}==0;"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590038321255"
description="retrieves a list of values from xml"
displayName="XPathQuery" height="34" interactive="0" jobMode="0"
name="XPathQuery"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.XMLQueryActivity"
uniqueName="XPathQuery_2" waitSetting="0" width="100" x="264" y="253">
<inputs val="<inputs><xml class="java.lang.String" _list_="false">xpath:{/workflow/HttpClient_1/output}</xml><xpath class="java.lang.String" _list_="false">/App_CreateSubClientResponse/response/@warningMessage</xpath><outputType class="workflow.types.SimpleType" _list_="false">String</outputType><outputAsList class="java.lang.Boolean" _list_="false">false</outputAsList></inputs>"/>
<transition activity="WorkflowEnd_1" commented="0"
description="" originalStyle="" points="" sourceX="314"
sourceY="270" status="0" style="defaultEdge" targetX="465"
targetY="270" transitionIndex="0" x="-26" y="7">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590038752585" description="Ends the workflow"
displayName="FAIL" height="34" interactive="0" jobMode="0"
name="WorkflowEnd"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.EndActivity"
uniqueName="WorkflowEnd_1" waitSetting="0" width="106" x="412" y="253">
<inputs val="<inputs><completionStatus class="workflow.types.WorkflowCompletionStatus" _list_="false">FAILED</completionStatus><failureMessage class="java.lang.String" _list_="false">Error : xpath:{/workflow/XPathQuery_2/result}</failureMessage></inputs>"/>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590038760588" description="Ends the workflow"
displayName="SUCCESS" height="34" interactive="0" jobMode="0"
name="WorkflowEnd"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.EndActivity"
uniqueName="WorkflowEnd_2" waitSetting="0" width="106" x="406" y="188">
<onExit language="1" script="workflow.setCompletionPercentage(100);"/>
<inputs val="<inputs><completionStatus class="workflow.types.WorkflowCompletionStatus" _list_="false" /><failureMessage class="java.lang.String" _list_="false" /></inputs>"/>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590160738660"
description="Workflow to create a virtualization client"
displayName="CreateVirtualizationClient" height="34"
interactive="0" jobMode="1" name="CreateVirtualizationClient"
namespaceUri="commvault.workflow.activities" originalStyle=""
skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.ExecuteWorkflow"
uniqueName="CreateVirtualizationClient_2" waitSetting="0"
width="174" x="16" y="120">
<onExit language="1" script="workflow.setCompletionPercentage(25);"/>
<inputs val="<inputs><CompanyName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/CompanyName}</CompanyName><SDDCName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/SDDCName}</SDDCName><SDDCUserName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/SDDCUserName}</SDDCUserName><SDDCPassword class="workflow.types.EncryptedString" _list_="false">xpath:{/workflow/inputs/SDDCPassword}</SDDCPassword><NoOfNodes class="java.lang.Integer" _list_="false">xpath:{/workflow/inputs/NoOfNodes}</NoOfNodes><ovaPath class="java.lang.String" _list_="false">xpath:{/workflow/inputs/ovaPath}</ovaPath><ProxyClient class="commvault.msgs.CvEntities.ClientEntity" _list_="false">xpath:{/workflow/inputs/ProxyClient/clientName}</ProxyClient><vmHost class="java.lang.String" _list_="false">xpath:{/workflow/inputs/vmHost}</vmHost><vmNetwork class="java.lang.String" _list_="false">xpath:{/workflow/inputs/vmNetwork}</vmNetwork><dataStore class="java.lang.String" _list_="false">xpath:{/workflow/inputs/dataStore}</dataStore><resourcePool class="java.lang.String" _list_="false">xpath:{/workflow/inputs/resourcePool}</resourcePool><dataCenterName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/dataCenterName}</dataCenterName><ExecutedFromAPI class="java.lang.String" _list_="false">xpath:{/workflow/inputs/ExecutedFromAPI}</ExecutedFromAPI><contentLibraryName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/contentLibraryName}</contentLibraryName><gatewayClientGroup class="java.lang.String" _list_="false">xpath:{/workflow/inputs/DMZClientGroup}</gatewayClientGroup><vmName class="java.lang.String" _list_="false">xpath:{/workflow/inputs/vmName}</vmName></inputs>"/>
<transition activity="CreateCloudLibrary_4" commented="0"
description="" originalStyle="" points="" sourceX="103"
sourceY="137" status="0" style="defaultEdge" targetX="93"
targetY="196" transitionIndex="0" x="0" y="0">
<condition language="4" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590418876037"
description="executes queries against a commcell database"
displayName="Get Company ID" height="34" interactive="0"
jobMode="0" name="CommServDBQuery"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.CommServDBQuery"
uniqueName="CommServDBQuery_1" waitSetting="0" width="143"
x="24" y="317">
<inputs val="<inputs><commCell /><query>select id from UMDSProviders where hostName='xpath:{/workflow/inputs/CompanyName}'</query></inputs>"/>
<transition activity="HttpClient_2" commented="0" description=""
originalStyle="" points="" sourceX="95" sourceY="334"
status="0" style="defaultEdge" targetX="333" targetY="78"
transitionIndex="0" x="10" y="10">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<Activity commented="0" continueOnFailure="0"
created="1590419118059" description="performs http operations"
displayName="Associate Plan to
 Company" height="34"
interactive="0" jobMode="0" name="HttpClient"
namespaceUri="commvault.cte.workflow.activities"
originalStyle="" skipAttempt="0"
style="label;image=commvault.cte.workflow.activities.HttpClientActivity"
uniqueName="HttpClient_2" waitSetting="0" width="129" x="276" y="61">
<inputs val="<inputs><request><url>/Organization?organizationId=xpath:{/workflow/CommServDBQuery_1/resultSets/row/col}</url><method>PUT</method><postType>Raw</postType><postContent>{
 "organizationInfo": {
 "planDetails": [
 {
 "plan": {
 "planName":"xpath:{/workflow/inputs/PlanName}"
 }
 }
 ],
 "organization": {
 
 "shortName": {
 "id": xpath:{/workflow/CommServDBQuery_1/resultSets/row/col}
 }
 }
 }
}</postContent><postContentType>application/json; charset=UTF-8</postContentType><headers><name>Authtoken</name><value>QSDKONLY xpath:{/workflow/system/token}</value></headers><headers><name>Accept</name><value>application/json</value></headers></request></inputs>"/>
<transition activity="HttpClient_1" commented="0" description=""
originalStyle="" points="" sourceX="333" sourceY="78"
status="0" style="defaultEdge" targetX="330" targetY="133"
transitionIndex="0" x="0" y="0">
<condition language="1" script="/*
The expression should return a boolean. Use the variable name "activity" to refer to the previous activity object. Example:
activity.exitCode==0;
*/
"/>
</transition>
</Activity>
<formProperties css="" formVersion="0" javaScript="" pageMode="0">
<rules/>
</formProperties>
</Workflow_WorkflowDefinition>