We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5325709 commit ad44bccCopy full SHA for ad44bcc
Core ServiceNow APIs/GlideRecord/Compare_2_records/README.md
@@ -1,4 +1,4 @@
1
-# Comparing 2 records and identify differences
+# Comparing 2 records and identify differences
2
3
This snippet compares two records from the same table in ServiceNow field-by-field using the **GlideRecord API**.
4
It’s useful for debugging, verifying data after imports, or checking differences between two similar records.
@@ -25,6 +25,7 @@ Run this script in a **Background Script** or **Fix Script**:
25
compareRecords('incident', 'sys_id_1_here', 'sys_id_2_here', false);
26
```
27
---
28
+
29
## Example Output
30
```js
31
short_description: "Printer not working" vs "Printer offline"
0 commit comments