field
{
"dataType": "",
"key": "",
"searchBy": ""
}
The following describes the dataType, key, searchBy properties. that are used within the definition of field (ServiceNow field)
Properties | Description |
---|---|
Key | Name or ID of the field in ServiceNow where the value will be found and updated. (Type of properties in ServiceNow ) |
Datatype | Type of relationship or association between fields Data, Choice, Reference |
searchBy | If the field is type Reference (reference to another class) must include the name by which the reference will be searched. |
Type of properties in ServiceNow
ServiceNow class attributes can contain values that reference another entity (class), or their value can be entered by the user. Attributes that relate to other entities are designated by ServiceNow as “reference” or their value can be obtained from a “select box” as explained below:
Sys_Choice and Reference Attributes: ServiceNow can relate its classes by using two types of attributes, type “reference” and “sys_choice”. The reference type attributes can be found as shown in the image in the type column:

While the value can be selected from a “select box”, is working with type attributes “sys_choice”, the contained values are added to the “sys_choice” and are related to the CI class.

Tipos de campos en ServiceNow
Nombre | Descripción |
---|---|
Data | Representa los campos donde el usuario ingresa los valores |
Choice | Representa los campos tipo choice |
Reference | Representa los campos tipo Reference |