List changed records
Return records created or updated after a point in time, oldest first, for polling-style triggers.
Command in the ServiceNow toolkit · id ooa.servicenow/list_changed_records · 10 inputs (2 required), 3 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Instance address (URL) | String | No | Instance URL, e.g. https://yourcompany.service-now.com. | |
| Table | String | Yes | Table name. | |
| Since | String | Yes | UTC time; records updated strictly after it are returned. | |
| Query | String | No | Extra encoded query to narrow the records. | |
| Fields | List | No | Fields to return; sys_id and sys_updated_on are always included. | |
| Maximum records | Number | No | 1000 | Maximum records. |
| User | String | No | User name. | |
| Password | Credential | No | Password from the vault. | |
| Access token | Credential | No | OAuth token from the vault. | |
| API version | String | No | Version of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6). |
Outputs
| Output | Type | What it is |
|---|---|---|
| table | Table | Changed records (values as stored, times in UTC). |
| count | Number | Number of records. |
| latest | String | Newest sys_updated_on seen; pass it as since on the next poll (equal to since when nothing changed). |