On the property Location the locations associated with the CI in the Aranda CMDB are related to the locations in the ServiceNow CMDB.
The structure of the “location” object is described below;
{
"location": [
{
"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 locations |
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 | Identifier of the supplier in the CMDB of Aranda |
value | Vendor identifier (sys_id or value) in the ServiceNow CMDB |
EXAMPLE: Location Relationship in Aranda CMDB / ServiceNow CMDB
To create the location relationship, follow the instructions below:
- Get the IDs of the Aranda CMDB locations.
- Get sys_id or value from ServiceNow CMDB locations.
-
Assign the following location equivalence:
Location in ServiceNow Location Aranda ID Location ARANDA SYS_ID SERVICENOW Location Location 1 Location 1 1 sys_id_item1 Location 2 Location 2 13 sys_id_item2
- Type the ID Location ARANDA On Property “id” and the SYS_ID SERVICENOW Location of its equivalent taken from the CMDB de ServiceNow On Property value
{
"location": [
{
"id": 1,
"value": "sys_id_item1"
},
{
"id": 13,
"value": "sys_id_item2"
}
]
}