Integrate > Micro Focus UCMDB > Using the ServiceManagerAdapter9.41 Adapter > Troubleshooting > Troubleshooting Population Issues > UCMDB CI Attribute sm_id not Mapped to the Right Service Manager Field in XSLT

UCMDB CI Attribute sm_id not Mapped to the Right Service Manager Field in XSLT

The Service Manager CI ID must be mapped to Universal CMDB CI attribute sm_id, because it is used to push the Universal CMDB CI ID back to Service Manager.

Out-of-the-box, this attribute mapping is configured in XSLT file cmdb_root_attributes_population.xslt, which is imported by the other XSLT files as a common field mapping, and the Service Manager CI ID field is exposed as the caption CIName.

Sample configuration

If you configured the mapping for sm_id in one of the following ways:

  • You did not configure the mapping for sm_id;
  • You did not expose the Service Manager CI ID field in the Service Manager web service;
  • You exposed the Service Manager CI ID field with a caption other than CIName;
  • The Service Manager CI ID field was exposed in the web service as the caption CIName, but you configured a wrong name (for example, CIName_wrong) in the XSLT file.

Error message

When you run the population job, you will get a “Failed” status. In addition, from both the population log file (see How to Check the Population Log File) and the Universal CMDB studio (see How to Check the Error Message of a Failed Population Job), you will get an error message similar to the following:

Solution

Search for text The Universal CMDB attribute "sm_id" of CI type to find the CI type, and then configure the attribute mapping for this CI Type in the XSLT file.

For instructions on how to configure an attribute mapping, see How to Map the CI Attribute to the Web Service Field.