Use a local data store to pull data from
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API implementation
If a large amount of data needs to be queried often, and the data does not need to be real-time, perform a sync of the ServiceNow table that you're interested in with your integrating application's data store.
Data push
- Using a scheduled job, ServiceNow can generate a csv/xml from a report and have it emailed to a specific location. The receiver might have a trigger to take the email attachment, parse it, and populate an internal table from which the application can communicate when the data is needed.
- Using a schedule job, ServiceNow can generate a csv/xml from a report and FTP it to an public FTP/FTPS location. The integrating product would consume this csv file on a regular basis and populate an internal table from which the application can communicate when the data is needed.
Data pull
Using a cron job, a machine internal to your network can make a wget call to pull csv/xml data from any table within ServiceNow. The integrating product would consume this csv/xml file on a regular basis and populate an internal table from which the application can communicate when the data is needed. Examples of the wget command that would be used:
- wget --user=itil --password=itil --no-check-certificate https://<instance name>.service-now.com/incident_list.do?CSV
- wget --user=itil --password=itil --no-check-certificate https://<instance name>.service-now.com/incident_list.do?XML