- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 06:25 AM
Hello everyone,
I am working for one of the field display and mandatory.
created below UI policy
active = true AND
Category = Software
Reverse if true
the UI policy action:
sub category = Visible true, mandatory true, Clear value false
I am facing issue as below
active true AND
Category = Hardware (before software and has some value in sub category)
sub category = not clearing value on list view
how to clear value on LIST view ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 06:27 AM
UI policy or onChange client script doesn't work on list view but only on form.
to clear the value on list view you need to use Before update BR and have proper condition and then clear the value
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
11-04-2024 06:27 AM
Hi @Are Kaveri
Try to use OnCellEdit Client script and write these scripts inside client script.
Please appreciate the efforts of community contributors by marking the appropriate response as the correct answer and helpful. This may help other community users to follow the correct solution in the future.
********************************************************************************************************
Cheers,
Prashant Kumar
ServiceNow Technical Architect
Community Profile LinkedIn YouTube Medium TopMate
********************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2024 06:27 AM
UI policy or onChange client script doesn't work on list view but only on form.
to clear the value on list view you need to use Before update BR and have proper condition and then clear the value
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