The structure of the “company” object is described below
{
"company": [
{
"value": "",
"reference": "",
"id": 0
}
]
}
| Properties | Description | |
|---|---|---|
| value | Company Identifier in ServiceNow | |
| Reference | Unique identifier to create a relationship between the concepts workOrder > model, client, company, priority, service | see |
| Id | Company ID in AFLS |
EXAMPLE: Company Relationship in AFLS from AFLS/ServiceNow
To create the list of states, follow the instructions below:
- Get AFLS company IDs.
- Get the sys_id or value of ServiceNow companies.
- Assign the following company equivalence:
| Company in ServiceNow | Company at AFLS | AFLS Company ID | ServiceNow Company IDs |
|---|---|---|---|
| Company 1 | Company 1 | 1 | sys_id_item1 |
| Company 2 | Company 2 | 13 | sys_id_item2 |
- Type the AFLS Company ID On Property “id” and the ServiceNow Company ID On Property value
{
"company": [
{
"id": 1,
"value": "sys_id_item1"
},
{
"id": 13,
"value": "sys_id_item2"
}
]
}