EN
Español
English
Português
    Register DataReference

    Referenced data

    To record data in ServiceNow classes, you need data that no offer the Aranda DEVICE MANAGEMENT ADM APIs (View ADM APIs), for this reason, are entered manually. In some cases, without using these values, data cannot be recorded.

    Considering this, the DataReference entity is created, which represents the additional data that a class needs to add or modify data in ServiceNow, the registered data will be referenced by a ServiceNow class and the devices that will carry that configuration, as presented below.

    {
      "dataReference": [
        {
          "name": "",
          "fields": [
            {
              "value": "",
              "fieldCMDB": "",
              "classDevice": [
                "",
                ""
              ]
            }
          ]
        }
      ],
      "classMapper": [
      ],
      "classDevice": [
      ],
      "classCMDB": [
      ],
      "mapper": [
      ]
    }
    

    The entity is configured as follows:

    Name: Reference Name

    Fields: Represents the additional data required for the creation or editing of records in ServiceNow. see DataTeference Fields.


    DataReference Fields

    The most important property of “dataReference” is “fields” where it will assign the value that the property of the ServiceNow class will have; this value is also related to the different devices discovered by Aranda DEVICE MANAGEMENT ADM,

    {
      "dataReference": [
        {
          "name": "",
          "fields": [
            {
              "value": "os",
              "fieldCMDB": "element",
              "classDevice": [
                "Laptop",
                "Desktop"
              ]
            }
          ]
        }
      ]
    }
    
    • ClassDevice: List of devices discovered by ADM.

    • Application.
    • Updates.
    • Laptop.
    • Desktop.
    • Router.
    • Switch.
    • Server.
    • Unknown.
    • Printer.
    • OperatingSystem.
    • None.
    • Disk.
    • LogicalDisk.
    • Memory.
    • FieldCMDB: The name of the property of the ServiceNow class.
    • Value: The value that the property of the ServiceNow class will have. The drive types supported by this field are:

    • Int
    • Long
    • float,
    • decimal
    • Boolean
    • date,
    • String
    • Array

    The array type in ServiceNow is thought of as a string of strings separated by ‘,’. For this reason, keep in mind that when entering an array, you must enter it as follows [ Values ]

    Example:

    • Numeric Array: [3, 5, 6].
    • Array string: [“value 1”, “value 2”].