UI Policies not working for non-admin role
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2025 12:54 AM - edited ‎06-19-2025 01:00 AM
I had created an ui policy to make configuration item field on sc_task table as mandatory for particular catalog items .But for admin users it's working as expected as it is being mandatory, for non-admin users that field is read only and non-mandatory.
Those users can see cmdb_ci table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2025 02:46 AM
Hi @Sahil_kashyap
Check if there is any field-level Write ACL created for the configuration_item field on the Task table. If so, review the conditions. I assume that only admins are allowed to edit the configuration_item field, which is why it appears read-only for non-admin users.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2025 03:45 AM
the field on form is a dot walked field from RITM.
If your user doesn't have read access to RITM table i.e. request_item field on sc_task your UI policy condition won't work correctly.
Please check that
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2025 04:56 AM
Hi @Ankur Bawiskar
The user has access to that field on RITM table. They can see the records there at RITM table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-19-2025 05:01 AM
how did you determine if it's not working for non-admins?
Did you add alert in UI policy execute if true and execute if false script section?
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader