Ui Policie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
What exculty use in services now, why its use and whats it is importnat in services now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sparit3737
Please read Module 3 of course : Scripting in ServiceNow Fundamentals from Servicenow University.
Check Servicenow Documentation: Using UI policies
For use cases , check community post, youtube.
https://www.youtube.com/watch?v=gtBsqbNOqKk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @sparit3737 ,
UI policies are used to make a field visible, mandatory and read only based on certain conditions.
It is a quick and easy way to hide, or make certain fields editable.
But there is a small drawback. These can be done only on the form view as the Ui policies run in the browser. It does not enforce these rules on data that is fetched through REST/SOAP APIs.
Hope this finds helpful..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello @sparit3737 ,
A UI Policy in ServiceNow is a one of configuration that helps control the behaviour and appearance of form fields based on certain conditions, without writing complex scripts. It is mainly used to make fields mandatory, read-only, visible or hidden dynamically. We can also control the visibility of related lists using UI Policies. It is important because it improves the user experience, maintains data consistency, reduces manual scripting, and makes form configurations easier to manage. For example, on an Incident form, when a user selects the Category as Hardware, a UI Policy can make the Configuration Item field mandatory or display additional fields related to hardware. In short, UI Policies help us manage form behaviour dynamically with minimal , almost no coding.
If this helps you then mark it as helpful and accept as solution .
Regards ,
aditya