compare_instances
Detect drift between two ServiceNow instances by comparing table record counts and system property values. Use optional queries for specific subsets.
Instructions
Compare two configured ServiceNow instances: record counts for a table (with optional query) and/or a specific system property value. Useful for dev→prod drift detection and governance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Encoded query to scope the count (optional) | |
| table | No | Table to compare record counts for (optional) | |
| property | No | A sys_properties name to compare values for (optional) | |
| instance_a | Yes | First instance name (as configured) | |
| instance_b | Yes | Second instance name (as configured) |