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