Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Delete corrupted record whose Sys ID is -1 - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Delete corrupted record whose Sys ID is -1
KB0791681

Delete corrupted record whose Sys ID is -1


2310 Views Last updated : Jan 2, 2025 public Copy Permalink
KB Summary by Now Assist

Issue

A "CHG1234567" is identified as a corrupted record due to the following reasons. 

  1. Not able to make any changes to "CHG1234567" change request
  2. When we try to open the change, it opens a new record
  3. The Sys ID of the change record is set as "-1" 
  4. Try to delete the change record in list view, but it reverts back

Release

All 

Resolution

We can delete this record by the following steps.

  1. Login to the instance 'abc'
  2. Navigate to sys_auto_flush.list table and click on 'New'
  3. Select table name as 'change_request' (As the issue is with change record, change_request table is selected. Choose the table appropriately based on the requirement)
  4. Fill the form as below 
    1. Match field = sys_created_on
    2. Age in Seconds = 10 (Record whose age is more than 10 seconds)
    3. Enable checkbox for Active
    4. Enable checkbox for Cascade Delete
    5. Condition Sys ID is -1
  5. Submit the form. 

Once the form is submitted a cleanup job runs every one hour and removes the record.

Related Links

For more details, please refer below link

https://docs.servicenow.com/csh?topicname=atf-auto-flush.html&version=latest


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.