UI Policies working when saving

allentschumper1
Tera Contributor

Hello -

I have an odd situation.  Recently in our DEV environment I noticed that on a particular table (the only I know of right now) where the UI Policies are working, but only when you hit save.  I have scoured Google and Copilot and went through their suggestions, but nothing seems to fit the bill.  our other environments are fine.  I have even turned off all client scripts related to those tables that are effected...no dice.  The UI Policies do, however, work just fine in our configurable workspace. 

Any suggestions on where else to look other than the "normal" places?

2 REPLIES 2

Tanushree Maiti
Tera Patron

Hi @allentschumper1 

 

  • Open the UI Policy on your table and ensure the On Load checkbox is checked. This forces the form to evaluate the rule as soon as it opens. 
  • If your rule hides or disables a field based on a specific choice, ensure Reverse if false is enabled. Otherwise, the UI Policy actions will remain stuck in their evaluated state until the page reloads.
  • Multiple UI Policies might be affecting the same fields with identical Order numbers can freeze field behavior
  • Review your existing client scripts/ui policies on your specific table to ensure they aren't overriding the policy before the save trigger
Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

allentschumper1
Tera Contributor

It's not just 1 ui policy, it's multiple hitting different fields and so on.   Thank you for the list provided, however, that is all the things I've already gone through.  I am fearing right now, it's a needle in a haystack somewhere.