Sync ServiceNow assets to SQL Server

Customer ServiceIT Service ManagementDatabase

What it does

When a scheduled time arrives, this automation searches ServiceNow for assets using a query and upserts the batch to SQL Server. The asset records stay synchronized between the two systems without manual intervention.

Who it's for

IT teams who need ServiceNow assets kept current in SQL Server on a regular schedule.

How teams use this

Keep asset inventory current across systems

Run the asset search and SQL upsert on a daily schedule so the SQL database always reflects the latest ServiceNow asset data. No manual sync is needed.

Filter assets by location or status

Modify the ServiceNow query to include only assets matching specific criteria like location or status. Only those filtered assets are synced to SQL Server.

Sync to a reporting database

Point the SQL upsert to a different table or database used for reporting and analytics. The same ServiceNow search feeds the new destination.

How it works

  1. Search ServiceNow for assets on schedule. At the scheduled time, search ServiceNow for assets using the configured query. The batch of matching asset records is retrieved and prepared for the next step.
  2. Upsert assets to SQL Server. Upsert the batch of asset records into the Sn_Assets table in SQL Server. New assets are added and existing ones are updated to match ServiceNow.