IT Process Automation

CA PAM::. CA SDM Web Service DoSelect - chg and prp - Change Category properties 

Jan 27, 2017 01:07 PM

HowItWorks.jpgCA SDM Web Service - Creating an object - configuration item.

 

 

 

<?xml version="1.0" encoding="UTF-8"?><UDSObjectList>
<UDSObject>
<Handle>prp:400219</Handle>
<Attributes>
<Attribute DataType="2001">
<AttrName>sequence</AttrName>
<AttrValue>11</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>label</AttrName>
<AttrValue>Load?</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>value</AttrName>
<AttrValue>Yes</AttrValue>
</Attribute>
</Attributes>
</UDSObject>
<UDSObject>
<Handle>prp:400220</Handle>
<Attributes>
<Attribute DataType="2001">
<AttrName>sequence</AttrName>
<AttrValue>15</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>label</AttrName>
<AttrValue>Company Number</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>value</AttrName>
<AttrValue>1234567</AttrValue>
</Attribute>
</Attributes>
</UDSObject>
<UDSObject>
<Handle>prp:400221</Handle>
<Attributes>
<Attribute DataType="2001">
<AttrName>sequence</AttrName>
<AttrValue>20</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>label</AttrName>
<AttrValue>Quantity</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>value</AttrName>
<AttrValue>3</AttrValue>
</Attribute>
</Attributes>
</UDSObject>
<UDSObject>
<Handle>prp:400222</Handle>
<Attributes>
<Attribute DataType="2001">
<AttrName>sequence</AttrName>
<AttrValue>30</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>label</AttrName>
<AttrValue>Configuration Item.</AttrValue>
</Attribute>
<Attribute DataType="2002">
<AttrName>value</AttrName>
<AttrValue>XYZ</AttrValue>
</Attribute>
</Attributes>
</UDSObject>
</UDSObjectList>

 

 

Process.xpathArrayResult2 = applyXPath(Process.XMLPRP, "//Attributes/Attribute/AttrName/text()", true, true);

Process.xpathArrayResult3 = applyXPath(Process.XMLPRP, "//Attributes/Attribute/AttrValue/text()", true, true);

 

 

 

know_more.png

Summary CA Process Automation 

Summary CA Service Management Community 

Service Desk Manager 15 days Implementation 

CABI:: Summary - BOXI for CA SDM 

Summary CA SDM Scoreboard 

CA PAM::. How to read a XML file - applyXPath Function 

 

 

 

Was useful, please leave your feedback!

Statistics
0 Favorited
3 Views
1 Files
0 Shares
2 Downloads
Attachment(s)
zip file
CASDM_DoSelect_CHG_PRP.xml.zip   28 KB   1 version
Uploaded - May 29, 2019

Related Entries and Links

No Related Resource entered.