---
sourceDocument: Brazil ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/servicenow-platform

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Record removal process

# Record removal process in Service Graph Connector for GCP {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Record removal process in Service Graph Connector for GCP

The Service Graph Connector for GCP manages the removal of obsolete records through two methods: soft deletion and hard deletion.
This process ensures that configuration items (CIs) and other discovered resources that are no longer present in GCP are appropriately updated or removed from the CMDB, maintaining accurate and current data.
Show full answer Show less  

## Soft deletion

Soft deletion marks records as retired in the Install Status field rather than permanently removing them. This allows the records to remain in the database for reference or potential restoration. Starting from version 1.11.0, soft deletion is implemented by checking the **Last Scan** attribute in the Source \[sysobjectsource\] table to identify CIs not discovered during the latest data pull. It also appends the connection alias ID to source native keys (SNKs) to track the discovery source.

Key points for soft deletion in version 1.11.0 and later:

* Relies on the Source \[sysobjectsource\] table and two connection properties: **Use Record Removal** and **lookbacktimeindays**.
* After upgrading to 1.11.0, **Use Record Removal** is enabled automatically during the first import run.
* The **lookbacktimeindays** defaults to null initially, then sets to 15 days after the first run, marking records not discovered within the last 15 days as retired.
* Applicable to a wide range of GCP resource data sources, including folders, projects, networks, VM instances, Kubernetes clusters, and more.
* Version 1.10.0 and earlier used a different mechanism involving the SG-GCP Extension Attributes table.

Additionally, from version 1.10.0 onward, the SG-GCP Generic Resource data source uses a post-script method for soft deletion, which also leverages the Source \[sysobjectsource\] table.

## Hard deletion

Hard deletion permanently removes records from the CMDB, making them unrecoverable and unreferable. This method is specifically used by the SG-GCP Software Inventory data source for record deletion.

## Practical implications for ServiceNow customers

* Soft deletion helps maintain historical data and enables restoration if needed, while ensuring retired resources are clearly marked and not treated as active.
* Hard deletion is used selectively where permanent removal is necessary, such as software inventory management.
* Upgrading to version 1.11.0 or later improves record removal efficiency through enhanced tracking and connection properties.
* Understanding these mechanisms helps customers manage CMDB accuracy, optimize data lifecycle, and configure connection properties to suit their operational policies.  
The Service Graph Connector for GCP uses soft deletion and hard deletion to manage the removal of records.  
Record removal is the process of handling data that is no longer needed. For any discovered resources that are deleted later after pulling data, the Service Graph Connector for GCP automatically updates the Install Status field of the associated CMDB CI classes to indicate any retired or deleted records.

* [Soft deletion](https://servicenow-prod.fluidtopics.net/uSlkUe43ZJns3HvkS57ODA#sgc-cmdb-gcp-removal__section_dgn_plz_ncc)
* [Hard deletion](https://servicenow-prod.fluidtopics.net/uSlkUe43ZJns3HvkS57ODA#sgc-cmdb-gcp-removal__section_lyp_bxh_cgc)
{#sgc-cmdb-gcp-removal__ul_p14_rqz_ncc}

## Soft deletion {#sgc-cmdb-gcp-removal__section_dgn_plz_ncc}

Soft deletion involves marking the install status of a record as retired rather than permanently deleting it from the system. The record remains in the database, making it possible to reference or restore it
later.

Integration Commons Record Removal is implemented from Service Graph Connector for GCP version 1.11.0 to mark the Install Status and Operational Status of configuration items (CIs) as retired if they aren't discovered during the latest pull​. This implementation verifies the Last Scan
attribute of the CIs in the Source \[sys_object_source\] table to identify CIs that aren't discovered during the latest pull​. Additionally, the source native keys (SNKs) for all CIs are modified to include the connection alias ID to
identify the connection that discovered specific CIs.

Soft deletion for the Service Graph Connector for GCP 1.11.0 version relies on the Source \[sys_object_source\] table and the Use Record Removal and lookback_time_in_days connection properties. Soft deletion for the Service Graph Connector for GCP 1.10 version and earlier relied on the SG-GCP Extension Attributes \[sn_gcp_integ_extension_attributes\] table.

After upgrading to version 1.11.0, the value of the Use Record Removal connection property is set to `true` when the import is run for the first time. Consequently, the
latest SNKs for the CIs are included in the Source \[sys_object_source\] table. Record removal is implemented from the subsequent run.

After upgrading to version 1.11.0, the value of the lookback_time_in_days connection property is set to null by default. During the initial run after the upgrade, the Source
\[sys_object_source\] table is queried for all records that the connection discovered. By default, the value is set to 15 after the initial run. Two weeks after the initial run, the Source \[sys_object_source\] table is queried for all
records that weren't discovered in the past 15 days. All records that weren't discovered in the past 15 days are marked as retired.  
Soft deletion is enabled for the following data sources in Service Graph Connector for GCP:

* SG-GCP Folder
* SG-GCP Project
* SG-GCP Network
* SG-GCP Subnet
* SG-GCP Storage Volume
* SG-GCP Storage Volume Snapshot
* SG-GCP Security Group
* SG-GCP VM Instance
* SG-GCP Load Balancer Pool
* SG-GCP Load Balancer Pool Member
* SG-GCP Load Balancer Health Service
* SG-GCP Load Balancer
* SG-GCP Load Balancer Service
* SG-GCP Cloud Database
* SG-GCP Cloud Function
* SG-GCP Cloud Object Storage
* SG-GCP Kubernetes Cluster
* SG-GCP Kubernetes Node
* SG-GCP Kubernetes Pod
* SG-GCP Kubernetes Service
* SG-GCP Kubernetes Namespace
* SG-GCP Kubernetes Deployment
* SG-GCP Kubernetes Replicaset
* SG-GCP Kubernetes Cluster Roles
* SG-GCP Kubernetes Cluster Role Binding
* SG-GCP Kubernetes Node Pool
{#sgc-cmdb-gcp-removal__ul_xvl_nyh_cgc}

From Service Graph Connector for GCP version 1.10.0, the SG-GCP Generic Resource data source uses the post-script method for soft deletion, which relies on the Source \[sys_object_source\] table. For more information about the post-script
method, see [Post-script method](https://servicenow-prod.fluidtopics.net/IZdvvwH0k2XaOrPkCmM16g#cmdb-integ-record-removal__section_tkt_5cb_mbc).

## Hard deletion {#sgc-cmdb-gcp-removal__section_lyp_bxh_cgc}

Hard deletion involves permanently deleting a record from the system. The record is removed from the CMDB and can't be referenced or restored later. The SG-GCP Software Inventory data source uses the hard deletion method for the deletion of records.
**Related reference**   

* [Service Graph Connector for GCP properties](https://servicenow-prod.fluidtopics.net/wRQce46q7Za2Knu_xjdfWQ "Service Graph Connector for GCP properties control the behavior of the connector.")

