sync_status
Compare ServiceNow artifact fields with your local edits to identify changes, then use sys_updated_on to detect conflicts before pushing updates.
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.
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 |