field
{
"type": "",
"key": "",
"searchBy": ""
}
A continuación se describen las propiedades type, key, searchBy. que son utilizadas dentro de la definición de field (campo de ServiceNow)
Properties | Description |
---|---|
Key | Name or ID of the field in ServiceNow where the value will be found and updated. (Type of properties in ServiceNow ) |
type | Type of relationship or association between fields Data, Choice, Reference |
searchBy | If the field is of type Reference (reference to another class) must include the name by which the reference will be searched. |
Tipo de propiedades en 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
Name | Description |
---|---|
Date | Represents the fields where the user enters the values |
Choice | Represents choice fields |
Reference | Represents the type fields Reference |