O'Reilly logo

Mastering ServiceNow - Second Edition by Martin Wood

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing fields with UI Policy

In Chapter 3, Server-Side Control, we looked at Data Policies. These force a field to meet a condition by rejecting a database operation if it is necessary. The benefit of Data Policies is that it does not matter where the data came from. This will reject invalid updates from user entry, scripts, and even through web services, if the right options are set.

UI Policies have the same function, but they only work for browsers. They do have an advantage, however, since they work before the data is submitted to the instance, giving instant feedback to the user.

As discussed earlier, faster feedback to the user is often beneficial. However, UI Policies only request the browser to perform the check. While the ServiceNow admin ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required