UI Policy not working in Service Operations Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2025 01:52 AM
Hi,
In the incident form, I have a field called Category and it has some choices. Each of the choices have corresponding associated fields also. If each of the choice is selected, corresponding field will be displayed and corresponding fields of other choices will be hidden. I created a UI Policy for this. It is working in native view, but not in SOW. I have added the field in form layout of SOW also. When I checked in the platform by taking the view as SOW, it is working. But when I go to SOW, it is not working. How to resolve this? I will attach the screenshots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2025 02:07 AM
did you try to use UI Type - ALL?
Also did you try to use client script for this?
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
‎05-09-2025 02:11 AM
UI Type-All is used for scripts right? I haven't used scripts. Instead, I used conditions. I used client scripts, but it is giving unexpected errors.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-09-2025 02:23 AM
try giving UI Type - ALL and see if it works
Use some alert in your Run script if true and Run script if false fields
That will let you know if any alert is coming or not?
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
‎05-09-2025 02:39 AM
it worked fine for me with this UI policy on incident table in SOW (now/sow/record/)
It made assigned to mandatory
Ensure no other UI policy of higher order is conflicting
Ensure Global checkbox is checked so that it runs in all views
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