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.

How to delete demo data installed from plugin and their relation between tables

NAIDILE S
Tera Contributor

Hi 

how can we delete the demo date which is  from plugin installation, I have to clean up the tables records along with the relation i.e, m2m table.
Thanks

naidile

6 REPLIES 6

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

There is a catalog on Hi Portal for the same

Remove Demo Data - Now Support Service Catalog - Support and Troubleshooting (servicenow.com)

 

This will work only for Customer instances, Not PDI.

 

-Anurag

HI can't we do it via script or SJ

Hi @NAIDILE S Yes we can do it by running script (Fix Script/Background Script / Scheduled Job) but it is not a best practice.  Any script provided is for use at your own risk and should be fully tested in a sub production instance before being used in production.

Go with https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0550107 as Anurag Suggested. 

 

Regards,

Sid

Hi @Anurag Tripathi 
This process I don't have access to it, so another way