- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 03:55 AM
Hi,
On Service Portal, UI policy does not work and when checking the browser console there is an error "Could not load U IPolicy script for policy" and there is error "There is a JavaScript error in your browser console" error message appears when accessing the Service Portal form."
I found it is a known error, but even after trying the resolution it is not working.
Link - https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0755827
This is the script that I am using in my UI Policy "Execute if true" section :-
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 05:22 AM
why not use client script for scripting?
UI policies are mostly used when the logic is simple
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 03:57 AM
@Ankur Bawiskar It would be great if you can help.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 05:22 AM
why not use client script for scripting?
UI policies are mostly used when the logic is simple
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2024 06:49 AM