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

properties | description |
---|---|
value | Company identifier (sys_id or value) in the ServiceNow CMDB |
Reference | Unique identifier to create a relationship between the objects typeRegister, service, project, category, applicant, responsibleGroup, responsible, ci, company, client, providers, and organizationalArea if the mapping type is “Mapper” or “Value” |
Id | Company ID in ASMS |
EXAMPLE: Company Relationship in Aranda CMDB / ServiceNow CMDB
To create the list of states, follow the instructions below:
- Get the IDs of the companies from the Aranda CMDB.
- Get the sys_id or value of ServiceNow companies.
-
Assign the following company equivalence:
Company in ServiceNow Company in Aranda Company ID Aranda ServiceNow Company Sys_id Company 1 Company 1 1 sys_id_item1 Company 2 Company 2 13 sys_id_item2
- Type the Company ID Aranda On Property “id” and the ServiceNow Company Sys_id of its equivalent taken from the CMDB de ServiceNow On Property value
{
"company": [
{
"id": 1,
"value": "sys_id_item1"
},
{
"id": 13,
"value": "sys_id_item2"
}
]
}