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.

Is it possible to change the "Extends table" setting of a table that has already been created?

KS18
Giga Guru

I have a table that was created by extending a table.
Is it possible to change the extended table to a different table?
In other words, is it possible to change the "Extends table" setting of a table that has already been created?

I don't think it is possible, but if there is a way, please let me know.

7 REPLIES 7

Hari Prakash Y2
Tera Contributor

Hi KS,

I tried using back ground scripts , seems not possible. i got an error saying below.

 

'Operation against file 'sys_db_object' was aborted by Business Rule 'Table Field Validation^5865a88f87b00110b51c873d0ebb35d6'. Business Rule Stack:Table Field Validation
Background message, type:error, message: Cannot change what a table extends after it is created '

 

Regards,

Hari

 

 

I did not get any error when I ran it.
Could you please share the code of the script you ran?

Maharshi Chatte
Kilo Guru

Hi ,

I dont think servicenow allows to change the extend table option after table creation of the table.

Regards,

Maharshi