Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Instance address (URL)StringNoInstance URL, e.g. https://yourcompany.service-now.com.
TableStringYesTable name.
SinceStringYesUTC time; records updated strictly after it are returned.
QueryStringNoExtra encoded query to narrow the records.
FieldsListNoFields to return; sys_id and sys_updated_on are always included.
Maximum recordsNumberNo1000Maximum records.
UserStringNoUser name.
PasswordCredentialNoPassword from the vault.
Access tokenCredentialNoOAuth token from the vault.
API versionStringNoVersion of the ServiceNow REST API to call: v1, v2, or latest (the instance's current one) when empty (G6).

Outputs​

OutputTypeWhat it is
tableTableChanged records (values as stored, times in UTC).
countNumberNumber of records.
latestStringNewest sys_updated_on seen; pass it as since on the next poll (equal to since when nothing changed).