How to delete demo data installed from plugin and their relation between tables
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 02:36 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 02:39 AM - edited 06-27-2024 02:40 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 02:43 AM
HI can't we do it via script or SJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 03:01 AM - edited 06-27-2024 03:02 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2024 02:51 AM
Hi @Anurag Tripathi
This process I don't have access to it, so another way