O'Reilly logo

Mastering ServiceNow 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 a UI Policy

In Chapter 2, Server-side Control, we looked at Data Policy. This forces a field to have a value by rejecting a database if it is necessary. The benefit of Data Policy is that it does not matter where the data came from. This will reject invalid updates from scripts through the browser, and even through Web Services, if the right options are set.

UI Policy has the same function, but it only works for the browser. It does have a good advantage; however, it works 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 Policy only requests the browser to perform the check. While the ServiceNow admin controls ...

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