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

File uploaded by TMACUL Champion on Jan 27, 2017Last modified by TMACUL Champion on Mar 20, 2017
Version 2Show Document
  • View in full screen mode

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!

Outcomes