The structure of the “category” object is described below
{
"category": [
{
"value": "",
"reference": "",
"id": 0
}
]
}
reference image in ASMS, in the image you can see the Category field

propiedades | descripción |
---|---|
value | Identificador (sys_id o value) del categoría en la CMDB de ServiceNow |
reference | Identificador único para crear una relación entre los objetos typeRegister, service, project, category, applicant, responsibleGroup, responsible, ci, company, client, providers y organizationalArea si el tipo de mapeo es “Mapper” o “Value” |
id | Id de la categoría en ASMS |
EJEMPLO: Relación de categoría en CMDB de Aranda / CMDB de ServiceNow To create the category list, follow the instructions below:
- Get the IDs of the categories of the Aranda CMDB.
- Get the sys_id or value of ServiceNow categories.
- Assign the following category equivalence:
ServiceNow Category | Category in Aranda | Category ID Aranda | ServiceNow category Sys_id |
Category 1 | Category 1 | 1 | sys_id_item1 |
Category 2 | Category 2 | 13 | sys_id_item2 |
- Type the Category ID Aranda On Property “id” and the ServiceNow category Sys_id of its equivalent taken from the CMDB de ServiceNow On Property value
{
"category": [
{
"id": 1,
"value": "sys_id_item1"
},
{
"id": 13,
"value": "sys_id_item2"
}
]
}