Data Policy in ServiceNow
Data Policies
- Data Policies aun on server-side.
- Table – sys_data_policy
- No advance View, No scripted conditions and UI or Server Side Scripting possible in data policy.
- Data policy does not support set visible optio, because there is no server-side equivalent of a contetually hidden field.
CONVERT DATA POLICY INTO UI POLICY
To convert data policy into UI policy there is one checkbox named
- Use as UI policy on client Tick mark
Data Policy is used to set Mandatory and read-only states on form fields.
- Data policies can be used on lists to make field Read-only. The Field will appear to be editable, but update with fail.
- The Purpose of a data policy is to standardize the same data across serviceNow applications. Data policy controls are similar to UI policy controls, but UI policies are enforced only on data that passes through the browser and UI
- UI and data policies are not about security. They are about managing the user experience.