what is the main use of datapolicies? ans what is the difference between UI policies nd data policies?

shashi12
Kilo Contributor

means what is the main purpose of data policies in servicenow

1 ACCEPTED SOLUTION

Saurav11
Kilo Patron
Kilo Patron

Hello,

  • Data policies are similar to UI Policies, but UI policies only apply to data entered on a form through the standard browser.
  • Data policies can apply rules to all data entered into the system, including data brought in through import sets or web services and data entered through the mobile UI.
  • Data Policies, unlike UI Policies, execute on the server.
  • You cannot make a field visible or hidden using data policies, because there is no server-side equivalent of a contextually hidden field.
  • There is also no Advanced view, no scripted conditions, and no UI or server-side scripting possible through a data policy (except to the extent that scripting is possible inside of any condition builder to make a determination about whether the data policy should run).

You can also go through the below video to understand more:-

https://www.youtube.com/watch?v=oBMvydB1oGo

Please mark answer correct/helpful based on Impact.

View solution in original post

6 REPLIES 6

OlaN
Giga Sage
Giga Sage

Hi,

The main usage of Data policies is used to enforce data integrity in your system, they evaluate on server side, not on the client (browser) like UI policy does.

You can learn more on the Developer site

shashi12
Kilo Contributor

thank you