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

Calculated field not updating in real time

ADITYA1312
Mega Contributor

I have created a form there are three fields

1. Field A : Integer

2. Field B : Integer

3. Result : Integer is a calculated field whose value is sum field A and B

I have a UI poilicy for applied that if value of result is greater than 1000 than hide result field but it hides only after saving the record

1 REPLY 1

Ankur Bawiskar
Tera Patron

@ADITYA1312 

UI policies evaluate on form load, not real-time during onChange edit for calculated fields like your Result

you can use onChange client script on Field A and Field B to re-calculate the Result and apply the show/hide logic.

💡 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