sync_status
Compare local edited content with ServiceNow instance records field-by-field. Identify unchanged, changed, or missing local fields, and retrieve update timestamp to prevent push conflicts.
Instructions
Local sync: compare an artifact's current instance content against your local/edited content field-by-field. Each field reports unchanged | changed | not_local (no local copy to compare). Also returns sys_updated_on to feed into push_artifact's conflict check.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>",
"sys_id": "<sys_id>"
},
"name": "sync_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Artifact table | |
| fields | No | Optional {field: localValue} to compare; defaults to files under NOWAIKIT_SYNC_DIR | |
| sys_id | Yes | sys_id OR name of the record |