CSA · Question #60
What is the difference between a UI Policy and Data Policy?
The correct answer is C. Data Policies run regardless of how data is entered into ServiceNow, while UI Policies are used. Data Policies enforce data consistency by running regardless of how data is entered, whereas UI Policies control form behavior and user interaction only when data is entered via a form.
Question
What is the difference between a UI Policy and Data Policy?
Options
- AData Policies run when data is entered through the form, by an Import Set, or by web services,
- BData Policies can be converted into UI Policies, but UI Policies cannot be converted into Data
- CData Policies run regardless of how data is entered into ServiceNow, while UI Policies are used
- DData Policies run only after UI Policies run successfully
How the community answered
(55 responses)- A2% (1)
- B5% (3)
- C91% (50)
- D2% (1)
Why each option
Data Policies enforce data consistency by running regardless of how data is entered, whereas UI Policies control form behavior and user interaction only when data is entered via a form.
This statement correctly describes *when* Data Policies run but only represents a partial explanation, as it doesn't adequately contrast them with UI Policies or fully explain their distinct scope.
UI Policies and Data Policies serve different purposes and cannot be directly converted into one another; they are distinct configuration types.
Data Policies apply server-side data validation and consistency rules irrespective of the data entry method (form, import sets, web services), ensuring data integrity. UI Policies, conversely, operate on the client-side, dynamically controlling the visibility, mandatory status, and read-only state of fields exclusively when a user interacts with a form.
Data Policies run on the server-side upon any data submission, while UI Policies run on the client-side; their execution is independent, and one does not necessarily wait for the other to complete successfully.
Concept tested: UI Policy vs. Data Policy
Source: https://docs.servicenow.com/bundle/utah-platform-administration/page/administer/data-policy/concept/c_DataPolicy.html
Topics
Community Discussion
No community discussion yet for this question.