Best Practice to change the type of existing field

Yathvika
Tera Contributor

I would like to change the existing fields type from String to Checkbox and From Integer to Currency,
What is the best way to do this.

Inactivating the Existing fields and creating a new one with the same name is not working as the error is coming up and showing the field with same name exists.

Assist on the best ServiceNow practice approach.

TIA

11 REPLIES 11

AndersBGS
Tera Patron

Hi @Yathvika ,

 

I can only Ecco what @Ankur Bawiskar gas stated. This it the right and best approach .

Its_Azar
Mega Sage

Hi there @Yathvika 

 

The best practice is to create a new field with the correct type, migrate the data from the old field using a fix script or background script, update all references (forms, scripts, reports, integrations), and then retire/inactivate the old field