When attempting to add an attribute to a recent created configuration item it fails with an error

book

Article ID: 129616

calendar_today

Updated On:

Products

SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service KNOWLEDGE TOOLS CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

When creating a configuration item (CI) using the create object method and then if it is attempted to update the attributes of the new created CI with the method update object it fails with the error below:

soapenv:Client Internal err with get_object_values: NOT FOUND Internal err with get_object_values: NOT FOUND 102

Cause

The create object method did not created the app_extx objects making the update of the attributes impossible.

Environment

Service Desk 14.1 or above

Resolution

1. Use the method CreateAsset instead of create object.
2. Ensure that all the required fields by an asset are included in the attributes list like the example bellow:

<ser:createAsset>
<sid>1906908950</sid>
<attrVals>
<string>class</string>
<string>grc:300110</string>
<string>is_asset</string>
<string>0</string>
<string>is_ci</string>
<string>1</string>
<string>system_name</string>
<string>soaptest</string>
<string>name</string>
<string>soaptest</string>
<string>description</string>
<string>soaptest</string>
</attrVals>
<attributes>
<string>name</string>
</attributes>
<createAssetResult></createAssetResult>
<newAssetHandle></newAssetHandle>
<newExtensionHandle></newExtensionHandle>
<newExtensionName></newExtensionName>
</ser:createAsset>

Once the CI is created use the update object to create the attribute using the correspondent object handle (for software it starts with app_extx for hardware starts with har_serx):

Example of the UpdateObject

<ser:updateObject>
<sid>1906908950</sid>
<objectHandle>app_extx:5B02BB7E803B6746A59187A2DB1ED63A</objectHandle>
<attrVals>
<string>portfolio</string>
<string>update test</string>
</attrVals>
<attributes>
<string>portfolio</string>
</attributes>
</ser:updateObject>

Additional Information

Asset Management Methods
Web Services Miscellaneous Methods