Retrieving Data
Getting Information from ServiceNow
To retrieve information from ServiceNow, you need to specify what type of data you're interested in. This could range from incidents and problems to users and tasks. Kognitos allows you to specify your criteria in a straightforward manner.
Basic Examples:
Fetching a Specific Incident:
This example demonstrates how to retrieve a specific incident by its number.
Fetching Incidents with Specific Criteria:
This example shows how to retrieve a list of incidents that are in the "New" state and assigned to the "Network Support" group.
Advanced Data Retrieval
For more complex data retrieval needs, we support the use of filters and the ability to fetch specific attributes from ServiceNow objects.
Using Filters:
Filters allow you to narrow down your search to find exactly what you're looking for. You can specify fields such as 'number', 'state', or 'assignment group' to filter the records.
Fetching Specific Attributes:
Sometimes, you may only need a specific piece of information from a ServiceNow object, such as an incident ID or priority.
Fetching an Incident ID:
This example retrieves the ID of a specified ServiceNow object.
Fetching an Incident's Priority:
This example fetches the priority of a specified ServiceNow object.
Last updated
Was this helpful?