- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 11:57 AM
I have a UI Policy on our Intranet form that basically makes several fields read-only when the Incident State field is "Closed." It works great on the Default View of the Incident Form, but doesn't work at all on other views.
I tried creating a different UI Policy in our Dev instance and having just the "Incident State" field in case it wasn't working because I had fields listed that weren't on the view. That did not work.
I tried unchecking Global and adding two view names in, that did not work for either of them (and broke that it was working for the "Default_View").
I tried moving the Global Field from the "When to Apply" section to the "Default" section of the UI Policy form. That didn't work either.
Any thoughts on what would keep it from working on certain views if Global is checked?
Here's how it looks right now:
Thanks,
Richelle
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:01 PM
In order for the UI policy to work, the fields involved Active, and Incident state MUST be available on all views.
Also, no other view specific UI policies should be working on those field conditions as well..
Reference:
Creating a UI Policy - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:11 PM
Good to know!
Alas, we are on UI11 until early next year (when every computer here will finally be off of XP/IE8). I am looking forward to Helsinki!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:12 PM
The screenshot was the BIG helper!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:01 PM
In order for the UI policy to work, the fields involved Active, and Incident state MUST be available on all views.
Also, no other view specific UI policies should be working on those field conditions as well..
Reference:
Creating a UI Policy - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:05 PM
That was it. I had the Active field on the Default View, but not on the other one. It works when I add the Active field to the View (making it read-only to all but Admin, of course).
Thanks much,
Richelle

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2016 12:06 PM
Glad you've got it addressed. I have been caught by that on UI policies and client scripts before too!
Let me know if that answered your question. If so, please mark it as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.
If you are viewing this discussion from your "inbox", use the "mark as correct" option under actions. If you are viewing it directly from the thread use the Correct Answer link (red with a star).
Thank you