Editing the configuration item XML file

<Configuration item>.xml files are used to configure the mapping attributes for transferring TADDM discovery data to ServiceNow CMDB and to establish relationships between TADDM and ServiceNow CIs. Typically, these XML files have the same name as the configuration items that they map.

These XML files are preconfigured. You can customize the elements and associated attributes based on your requirements.

  1. Open the <IntegrationPlugin path>/resources/config/mappingFiles/<CI>.xml file.
  2. Based on your requirements, edit the elements and their attributes.
    Note: Elements and attributes described in this section are preconfigured. Change them only if required.
    • You can edit following attributes of the <configurationItem> element:
      • [name] CI name or the name of the child CI
      • [targetTable] Target table at ServiceNow instance
    • You can edit following child elements of the <configurationItem> element:
      • [relationship] If set true, finds the relationship with parent CI
      • [outbound] or [inbound] Represents the type of relationship. For example, AppServer.xml contains outbound relation, FileSystem.xml contain inbound relation
      • [relation] Indicates the relation type or name of a CI at ServiceNow sideFix Pack
9
        • Configure Attribute [type] with value “dependent” for the dependent relationships of Service Now.
        • If Attribute [type] is not present, then the relation is taken as dependent relationship.
        • Configure Attribute [type] with value “suggested” for the suggested relationships of ServiceNow. For more details, refer PacemakerNode.xml file and below example 2.
      • [srcRelationType] Defines the relationship name at TADDM side
      • [srcAttributeType] Defines the relationship with other CI among the CIs. Defines the other CI (at TADDM side) with which the relationship exists for this CI
      • [targetAttributes] Represents the other CI with the relationship is being drawn. This finally results in the sys_ID of the other CI.
      • [targetRelationType] Represents the sys_id of the relationship (defined at ServiceNow side)
      • [targetClass] Represents the ServiceNow table name with which the relationship exists for this CI
      • [srcAttribute] CI attribute mapping
    • Child elements of the <srcAttribute > element:
      • [targetAttr] Represents the target attribute at ServiceNow.
      • [defaultValue] Default value of the target attribute.
      • [defaultValue] Default value of the target attribute.
  3. Restart the plugin to apply the changes.