Getting an error ?Attributes(Alt CI ID) do not apply to class(Server)? when trying to update resource_tag field of a CI using GRLoader

book

Article ID: 33284

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

Issue:

When trying to update the resource_tag field using GRLoader with the below example sheet:

<Please see attached file for image>

1.jpg

It returns an error in the in the error file:

 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
<GRLoader> 
<ci> 
<!--WARNING: Attributes(Alt CI ID) do not apply to class(Server) family(Hardware.Server)--> 

 

Environment: 

-        WINDOWS 2008/2012

-        R12.X, 14.X

 

 

Cause:

The attribute resource_tag is a DB attribute and cannot be detected by GRloader. You need to make use of object-level attribute'asset_num' is the object level attribute for 'resource_tag'.  In addition to the above attributes, you need to add another attribute 'id' for identifying the CI. If the 'id' value is not available in the excel sheet, the updates will not happen because the code checks in the Database for the CI with the values given in excel sheet. 

 

Resolution:

 To resolve the error, include the following fields which are mandatory to update resource_tag in the excel sheet:

name 
serial_num 
asset_num 
class 
id 

<Please see attached file for image>

2.jpg

With the updated excel sheet, you should be able to run the GRLoader command to update the resource_tag field of a CI.

Environment

Release: SDMU0M99000-14.1-Service Desk Manager-Full License
Component:

Attachments

1558699383382000033284_sktwi1f5rjvs16omj.jpeg get_app
1558699381738000033284_sktwi1f5rjvs16omi.jpeg get_app