Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Return field to default version

pverni
Tera Contributor

Hello everyone,

 

I was implementing something and ended up changing the type of a native field from reference to list.

I tried to revert this field back to reference, but I get an alert saying it's not possible.

Could someone tell me if I can revert this field back to the default version of the tool?

The table is from the Integrated Risk Management plugin.

1 ACCEPTED SOLUTION

Dr Atul G- LNG
Tera Patron

Hi @pverni 

It is never recommended to change the data type of an out-of-the-box (OOTB) field, as it may be used in multiple features or mappings.

If you are not fully aware of all dependencies, this can cause issues. If the field already contains data, please back up and delete the data first, and then try changing the data type again.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @pverni 

It is never recommended to change the data type of an out-of-the-box (OOTB) field, as it may be used in multiple features or mappings.

If you are not fully aware of all dependencies, this can cause issues. If the field already contains data, please back up and delete the data first, and then try changing the data type again.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron

@pverni 

if table has data for that field then you won't be allowed to change

you will have to remove data from that field and then change the type

Changing Field type from Reference to LIST - Error 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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

Tanushree Maiti
Tera Sage

Hi @pverni 

 

 

If a field or variable needs to be changed to a different data type, always follow this approach:

First, deactivate the existing field or variable.
Then, create a new field or variable with the same name and the required data type.

 

This helps maintain consistency with legacy data without any data loss.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: