Unable to update a custom column added to the nr Object that refers to the Group object.

Document ID : KB000007248
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When trying to load a xml file using GRLoader to update a CI with a grp SREL to a custom column, it fails with a warning message "WARNING: Unable to find unique grp.combo_name=(Group1)".

e.g. 
 

warning.jpg
 

The steps to reproduce the behavior:

  1. Create the xml file with the following lines to update an existing Configuration Item named "Server01".

    ===
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <GRLoader>

    <ci>
    <name>Server01</name>
    <class>Server</class>
    <family>Hardware.Server</family>
    <zresolver_grp>GroupA</zresolver_grp>
    </ci>

    </GRLoader>
    ===
     
  2. Run the GRLoader command to load the above xml file.

    e.g. Load Group_update.xml file to update a CI.
    Grloader -u servicedesk -p (password) -s http://localhost:8080 -i c:\data\Group_update.xml -a
     
  3. A warning message appears on the Command Line as well as the xxx.err.xml file.

    command.jpg
Environment:
CA Service Desk Manager 12.9, 14.1, 17.x
Cause:

The required 'lookup' parameter for the SREL attribute is missing in the input  .xml file.

Resolution:

In order to update a field that refers to the group attribute using GRLoader, you need to specify the "lookup" parameter as in the example below. 

=== 

<ci>
<name>Server01</name> 
<class>Server</class> 
<family>Hardware.Server</family> 
<zresolver_grp lookup="last_name">GroupA</zresolver_grp>
</ci>

===

Additional Information:

TEC601582: How to create a GRLoader load file that will pass a "lookup" field for CA Service Desk Manager (CA SDM) r12.7 

TEC1424134: grloader returns "/Unable to find unique grp.combo_name=(grp1)." when using a .csv file to update a customized field that is SREL field type to grp (Group contacts)