EN
Español
English
Português
    Register Relationship

    Relationship between CI classes

    ServiceNow CI classes can be related to each other. For example, a computer has hard drives, monitors, software installed, etc. These types of relationships can be built within ServiceNow, as seen in the following example:



    This type of relationship can be mapped within the “relationship” entity where the following properties are held:

    {
      "relationship": [
        {
          "parentClassDevice": "Desktop",
          "childClassDevice": "Application",
          "relationshipType": "Used by::Uses"
        }
      ],
      "mapper": [
      ],
      "dataReference": [
    
      ],
      "classMapper": [
    
      ],
      "classDevice": [
    
      ],
      "classCMDB": [
    
      ]
    }
    
    
    • ParentClassDevice: Name of the parent device, see in the name column
    • ChildClassDevice: Name of the child or dependent device, see in the name column
    • RelationshipType: Type of relationship between devices, relationships can be queried in the “cmdb_rel_ci” entity [CI Relationship Types]