Custom fields deletion

naresh51
Tera Contributor

I have a requirement to delete the custom columns in a table. i have deleted those columns by using "sys_dictionary.list" but due to the transaction time out only field labels are deleted but not the dictionary changes here the problem is that is not captured y update set that's why we need to write fix script for deletion of the columns in a table please reply on this. Thanks 

2 REPLIES 2

Tony Chatfield1
Kilo Patron

Hi, perhaps the best way forward would be to restore the labels and try deleting the fields individually after clearing the field content.
Can you restore the labels from 'Deleted Records' ?
If the issue is with a commercial ServiceNow instance I would log a Case with ServiceNow Support.

For a PDI you could start by running scripts to clear the content of the field(s),
and then try deleting them from Tables & Columns.

 

RahulY00040
Tera Contributor

Hi @naresh51 , 

 

I know its kind of old post, but did you find answer to this.

 

Thanks,
Rahul