Retrieve Records
Retrieves a list of ServiceNow records based on specified filters.
To use this procedure, make sure your agent has learned the Servicenow Book (BDK).
Syntax
Examples
1. Retrieve all incidents from the 'incident' table
retrieve some records from servicenow
the table name is "incident"
2. Retrieve all incidents from the 'incident' table whose number is 'INC0010001'
retrieve some records from servicenow whose number is "INC0010001"
the table name is "incident"
3. Retrieve all incidents from the 'incident' table whose created date is after '2022-01-01'
the date is "2024-02-25T12:30:00Z"
get the date as a datetime
use the above as the target
retrieve some records from servicenow whose "sys_created_on" is greater than the target
the table name is "incident"
4. Retrieve 5 incidents from the 'incident' table
retrieve some records from servicenow
the table name is "incident"
the limit is "5"
Last updated
Was this helpful?