Are you sure you want to update CI's in the base element class?

 

There normally won't be any CI's in this class as they are normally stored
in the lower classes in the CMDB hierarchy (eg computer system)

 

It doesn't look like the key field being used is the instance id field.

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Wirasat Siddiqi
Sent: 17 April 2012 15:14
To: [email protected]
Subject: Update Base Element using AIE

 

** I am trying to update BMC.CORE:BMC_BaseElement class using AIE. I am
using instanceID as my primary key. And I am just updating a custom
attribute that I added to the Base Element class. I have selected 'Never'
from cerate a record from Data Exchange Configuration window as I just want
to update the record. When I run the data exchange, I get the Rule
Validation Error in the logs. Also, I am seeing following lines in the debug
logs. 

Waiting for next chunk 
[Tue Apr 17 2012 09:34:16.5040] - <TID: 001> <INFO  > CMDB Query: 'ClassId'
= "BMC_ASSETBASE" 
[Tue Apr 17 2012 09:34:16.5040] - <TID: 001> <DTL   >
CCMDBHandler.BuildClsKeyList(): adding the key field 'Name' for sorting. 
[Tue Apr 17 2012 09:34:16.5040] - <TID: 001> <INFO  >
CCMDBHandler::BuildAttributeKeyList => CMDBGetListIntances : From Index [0]
Chunksize [50000] 
[Tue Apr 17 2012 09:34:16.5190] - <TID: 001> <INFO  >
CCMDBHandler::BuildAttributeKeyList => CMDBGetListIntances :
Qualifer:['ClassId' = "BMC_ASSETBASE"] Fetched [4] 
[Tue Apr 17 2012 09:34:16.5190] - <TID: 001> <STATE >
CCMDBHandler::BuildAttributeKeyList => CMDBGetListIntances :
Qualifer:['ClassId' = "BMC_ASSETBASE"] Fetched [4] 
[Tue Apr 17 2012 09:34:16.5190] - <TID: 001> <DTL   > Number of AR System
Keys obtained 4 
[Tue Apr 17 2012 09:34:16.5190] - <TID: 001> <DTL   > Number of Vendor Keys
obtained 1. 

Not sure why it is getting 4 records from AR system. Although, there is only
record I can see in the base element with that instance ID. 
Any help would be appreciated. 


Thanks, 
Wirasat Siddiqi 
Remedy Development Team 
Desk Phone: 202-502-3204 
Cell: 202-368-7190 
Email: [email protected] _attend WWRUG12 www.wwrug.com
ARSlist: "Where the Answers Are"_


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug12 www.wwrug12.com ARSList: "Where the Answers Are"

Reply via email to