Can't delete table in Customer Service scope

Shane18
Kilo Expert

Hi,

I created a custom table in the Customer Service scoped application. The name of the table starts with sn_customerservice_[name]. I do not see an option to Delete the table. In my PDI, I see an option to delete a table when accessing it from sys_db_object, but I do not see this on the client instance. I am thinking it's because it doesn't start with "u_" and therefore isn't being identified as custom.

I am using the System Administrator account. The button is simply not there. Any help?

Thanks.

3 REPLIES 3

Shane18
Kilo Expert

find_real_file.png

I recreated this on my PDI and ran into the same issue.

Hi Shane,

it is intended to be fixed in Paris Version

https://hi.service-now.com/kb_view.do?sysparm_article=KB0623901

Till then you can run this in scripts background; it would delete columns, remove data and then delete table

var tableUtil = new TableUtils();

tableUtil.dropAndClean('sn_customerservice_test');

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Anil Shewale
Mega Guru

Hi

you have to activate the plugin.(scope system application)

following is the article in that it explain step by step. 

https://hi.service-now.com/kb_view.do?sysparm_article=KB0623901

 

 

If it help mark helpful or correct 

Thanks and regards

Anil