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.
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 |