Delete custom CI class

marianneurnes
Mega Guru

Hi,

I needed a new CI class in my instance, and mistakenly added them in the Customer Service scope. Now I cannot seem to delete this table and add it in again the correct scope. Any ideas why delete is unavailable for me? Any way to work around this?

8 REPLIES 8

akash_mehta
ServiceNow Employee
ServiceNow Employee

Are you in the same Application scope as the CI table?

Harshinya1
Mega Guru

You have to go the table.list->Configure->table->now you will see the button "Delete" on the header.

Also, you cannot change the scope as it is restricted to nobody role which is not available for assignments. Your only option would be to delete the records in the table, delete the table and create it in the correct scope.

 

Hope this helps

Thanks,

Harshinya

Hi, Deleting and recreating is what I am trying to do. However, the delete button is not available. I think this might be because of the table name - since it was created in the Customer Service scope, it has another prefix before the “u_” which usually marks it as a custom table.

Brent Sutton
Mega Sage

Hi Ya,

Does the custom table that you're trying to delete have any data in it? If so, you'll need to delete all the records before deleting the table. You'll also need to be in the same scope that the table was created in.

Hope that makes sense.

Brent

P.S. If my suggestion helped then please mark as helpful and/or correct so other community members can benefit from this information.