Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Harish Bainsla
Kilo Patron
Kilo Patron

Recently working on a CMDB so there is a requirement to delete the data which is around 50k .

So there is a cool feature in ServiceNow which helps you to delete the data without writing any script .

Lets Understand with Example on PDI 

> I want to delete a data of stale record

Steps

1. Open the record list of the table and apply filter as per you need 

HarishBainsla_0-1764908344656.png

2. Now let's delete this data without script

3.clik on column option > Data Management > Delete all with preview

HarishBainsla_1-1764908481275.png

4. Once click you will see like below screenshot

HarishBainsla_2-1764908572802.png

5. Two option you see in Related Links

1. Preview Cascade :-  Preview the number of records that will be affected before continuing and change the conditions if needed. 

when you click on Preview Cascade you will see below screenshot 

HarishBainsla_3-1764908961521.png

 

2. 

Now click on Execute Now

HarishBainsla_4-1764909021034.png

 

Now click  on Proceed  job will start running

HarishBainsla_5-1764909080423.png

 

Now you will get success result

HarishBainsla_6-1764909105350.png

Check execution results

reviewing the outcomes of a performed action and there is option for rollback

HarishBainsla_9-1764909404704.png

 

Now go back to record and you will see that they get deleted

HarishBainsla_7-1764909156018.png

Thank You

LinkedIn : https://www.linkedin.com/in/harish-baisla-8895aa22a/

ServiceNow Community Rising Star 2024 and 2025

 

 

 

 

Version history
Last update:
3 hours ago
Updated by:
Contributors