How Data Policy is different from com.snc.change_management.enforce_data_requirements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 01:27 AM
What is the actual difference between Data Policy and the property: com.snc.change_management.enforce_data_requirements
- Labels:
-
Field Service Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2019 01:44 AM
Data Policy acts on database level (server level) and controls the behavior of the field.
For example, suppose that you are configuring a web service that allows users from outside the platform to update problems on the ServiceNow instance. Since these problems are not updated through the instance UI, they are not subject to the UI policies on the problem form. To ensure that the Close notes field is completed before a problem is marked Closed/Resolved, you can create a data policy that applies to server-side imports. Data that does not comply with this data policy produces an error. You can also apply the policy on the browser by selecting the Use as UI Policy on client check box in the data policy record.
com.snc.change_management.enforce_data_requirements
Enforce Change Request process data requirements. Modifications to the Change Request table will have the same data requirements as provided on the base system Change Request form via UI Policy. Restrictions are enforced via GlideRecord and will apply to updates from: Change Request form, Workflow, REST/SOAP APIs and Javascript. These restrictions are in addition to any provided by UI Policy on the Change Request form.
i would suggest go thought the doc link for further information regarding the "com.snc.change_management.enforce_data_requirements"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-02-2019 05:32 PM
Check to see if you have plugin "Change Management - State Model" installed. If so look in the script include "ChangeRequestSNC". It should have the following line near the top...
ChangeRequestSNC.ENFORCE_DATA_REQ_PROP = "com.snc.change_management.enforce_data_requirements";
Look in script inc ChangeRequestStateHandlerSNC and ChangeManagementEventHandlerSNC for ENFORCE_DATA_REQ_PROP