UI Policy Order

The Order field on UI Policies (just like on other scripts) is very important, as it determines how UI policy actions are processed and prioritized. When two UI policies contain a UI policy action that acts upon the same field—even if they act upon different properties of that field (visible versus read-only, for example)—they can potentially conflict. Conflicting UI policy actions will be shown in the related list on the UI policy, with a red dot indicating the issue:

UI Policy Order

If you open the UI policy action, you'll be presented with an error message indicating that the run order of the UI policy actions is unpredictable:

This warning will ...

Get Learning ServiceNow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.