Add a new variable to a Change form and not update old records with the new variable

John H1
Tera Guru

I have a request to add a checkbox to the Change form. Adding the checkbox is not a problem but I don't want to update old records when I Save/Update.

8 REPLIES 8

Hi @John H1 

 

If you update the UI policy and if Ui action has been assigned to this checkbox then it will update.

 

Make sure there is no default value on check box and it is not mandatory.

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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/atul_grover_lng [ Connect for 1-1 Session]

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

Hello John H1, 

 

I think you can add this  conditon "state is not complete" in your ui policy. 

John H1
Tera Guru

I just added a field to my personal development system and had the same issue. All existing Open & Closed now have that field.

Hi John,
Can you share the Snapshot of your personal instance?

If you want visibility of the checkbox depends upon the "updated" field then you have to write a glideajax client script.

 

Regards,
Avi Shandilay