On the property model the models associated with the CI in the Aranda CMDB are related to the models in the ServiceNow CMDB.
The structure of the “model” object is described below;
{
"model": [
{
"reference": "",
"mapping": [
{
"value": "",
"id": 0
}
]
}
]
}
Where:
properties | description |
---|---|
Reference | It corresponds to the name/alias (a pseudoname given to the ServiceNow class) of the ServiceNow class with which we will relate the category of the Aranda CI |
mapping | Represents the relationship of the models |
mapping
{
"id": "",
"value": ""
}
A continuación se describen las propiedades id, value que son utilizadas dentro de la definición mapping (relación de valores)
Properties | Description |
---|---|
Id | Model identifier in the Aranda CMDB |
value | Model identifier (sys_id or value) in the ServiceNow CMDB |
EXAMPLE: Relationship of models in Aranda CMDB / ServiceNow CMDB
To create the list of the models, follow the instructions below:
- Get the IDs of the Aranda CMDB models.
- Get the sys_id or value from ServiceNow CMDB models.
-
Assign the following model equivalence:
ServiceNow Model Model in Aranda ID MODEL ARANDA SYS_ID MODEL SERVICENOW Apple MacBook Air 13” Apple MacBook Air 13” Disk 500 GB 1 sys_id_mac1 Apple MacBook Air 15” Apple MacBook Air 15” Disk 1 TB 13 sys_id_dr_mac2
- Type the ID MODEL ARANDA On Property “id” and the SYS_ID MODEL SERVICENOW of its equivalent taken from the CMDB de ServiceNow On Property value
{
"model": [
{
"id": 1,
"value": "sys_id_mac1"
},
{
"id": 13,
"value": "sys_id_dr_mac2"
}
]
}