<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ui policy vs Data policy?? in Developer forum</title>
    <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454220#M1241464</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have outlined some differences between UI Policy and Data Policy below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;UI Policy&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;UI Policy is &lt;STRONG&gt;client-side&lt;/STRONG&gt; and is used for configuration such as &lt;STRONG&gt;Read-only, Mandatory, and Visible&lt;/STRONG&gt; fields.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;We can write &lt;STRONG&gt;scripts&lt;/STRONG&gt; in UI Policies for additional modifications.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;UI Policies are applied &lt;STRONG&gt;only on UI forms&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;UI Policies &lt;STRONG&gt;do not apply&lt;/STRONG&gt; to &lt;STRONG&gt;onCellEdit actions&lt;/STRONG&gt; (List view editing).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;To convert a UI Policy to a Data Policy, the following conditions must be met:&lt;BR /&gt;i) &lt;STRONG&gt;Global&lt;/STRONG&gt; checkbox should be checked&lt;BR /&gt;ii) There should be &lt;STRONG&gt;no visibility actions&lt;/STRONG&gt;&lt;BR /&gt;iii) &lt;STRONG&gt;Run scripts&lt;/STRONG&gt; checkbox should be &lt;STRONG&gt;unchecked&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Data Policy&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In Data Policy, there are only options for &lt;STRONG&gt;Read-only and Mandatory&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data Policies run on the &lt;STRONG&gt;server side&lt;/STRONG&gt;, meaning they are enforced when data is &lt;STRONG&gt;inserted or updated in the database (table)&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;There is &lt;STRONG&gt;no option to write scripts&lt;/STRONG&gt; in Data Policies.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data Policies are applied even when data is inserted through &lt;STRONG&gt;Import Sets, Mobile UI, Web Services (API), or integrations&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;For data policy to ui policy conversion there is no any pre-requisit.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(Note - to disble data policy during modifying/creating record using script like gliderecord we need set gr.setUseEngine(false))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps you then mark it as helpful accept as solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;Technical Consultant&lt;/P&gt;</description>
    <pubDate>Mon, 22 Dec 2025 05:15:29 GMT</pubDate>
    <dc:creator>Aditya_hublikar</dc:creator>
    <dc:date>2025-12-22T05:15:29Z</dc:date>
    <item>
      <title>Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3453864#M1241432</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Ui policies are for client side and Data policy for Server side I understand this.&lt;/P&gt;&lt;P&gt;I see option to convert ui policy to data policy, wanted to understand requirement or usecase for this.&lt;/P&gt;&lt;P&gt;Also data policy has check box to act as UI policy so I not able to understand then why UI policy will be required if data policy when checked as UI policy serves same purpose.&lt;/P&gt;&lt;P&gt;It's confusing can any one give practical usecase for all scenario and differentiate it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 21 Dec 2025 08:48:24 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3453864#M1241432</guid>
      <dc:creator>ZebaT</dc:creator>
      <dc:date>2025-12-21T08:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454118#M1241452</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This post &lt;SPAN&gt;might&amp;nbsp;&lt;/SPAN&gt;help you to understand&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.servicenow.com/community/servicenow-ai-platform-articles/difference-between-data-policy-and-ui-policy/ta-p/2313599" target="_blank"&gt;https://www.servicenow.com/community/servicenow-ai-platform-articles/difference-between-data-policy-and-ui-policy/ta-p/2313599&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Dec 2025 23:23:23 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454118#M1241452</guid>
      <dc:creator>Rafael Batistot</dc:creator>
      <dc:date>2025-12-21T23:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454139#M1241454</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me try to explain in a very simple language.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UI Policy will work when data is entered through Form (Client side/Catalog/ Front end). For an example you made Phone numebr filed as mandatory from the form. It will make sure that phone number is not blank. But&lt;/P&gt;
&lt;P&gt;It will not work when data is entering into the system by Import Sets(Transform Map) or integrations. User will be able to enter/upload blank phone numbers while importing data. If you want phine number field restriction to be applied on backend data ( Import set/ integration) as well then you should use data policy. Data policy will also make sure that blank phone numbers are not entering into the system.&lt;/P&gt;
&lt;P&gt;So UI policy is stopping blank phone numbers from Form/catalog/ front end while Data policy is stopping blank phone numbers from backend data entry (Import set/integration). The purpose of both are same but the place they are working are different.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So when you have created a Data policy (to restrict any field value from backend) you can also check the checkbox to use it as UI policy to restrict the same field value from frontend. So in this way you are making sure that data will eb consistent does not matter entring from Front end or back end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope it will clear the air.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 01:56:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454139#M1241454</guid>
      <dc:creator>Nikhil Bajaj9</dc:creator>
      <dc:date>2025-12-22T01:56:46Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454199#M1241461</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UI policy always runs on client side&lt;/P&gt;
&lt;P&gt;Data policy runs on server side&lt;/P&gt;
&lt;P&gt;check these links&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/servicenow-ai-platform-articles/difference-between-data-policy-and-ui-policy/ta-p/2313599" target="_blank" rel="noopener"&gt;Difference between Data policy and UI policy&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://servicenowspectaculars.com/what-is-the-difference-between-ui-policy-and-data-policy-in-servicenow/" target="_blank" rel="noopener"&gt;What is the difference between UI policy and Data policy In ServiceNow?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.linkedin.com/posts/reddeppa-putchakayala-443726314_servicenow-interview-questions2025-new-era-activity-7372314597791326208-0PDm/" target="_blank" rel="noopener"&gt;What is the difference between Ul Policy and Data Policy?&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; and close the thread &lt;span class="lia-unicode-emoji" title=":locked:"&gt;🔒&lt;/span&gt;— this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 04:15:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454199#M1241461</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-22T04:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454208#M1241463</link>
      <description>&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;UI Policies&lt;/STRONG&gt; are &lt;STRONG&gt;client-side&lt;/STRONG&gt; and control how fields behave on the form (mandatory, read-only, hide). They work &lt;STRONG&gt;only in the UI&lt;/STRONG&gt;.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Data Policies&lt;/STRONG&gt; are &lt;STRONG&gt;server-side&lt;/STRONG&gt; and ensure data rules are enforced &lt;STRONG&gt;from all sources&lt;/STRONG&gt; (UI, imports, APIs, scripts).&lt;/LI&gt;&lt;LI&gt;The option to &lt;STRONG&gt;convert UI Policy to Data Policy&lt;/STRONG&gt; is used when a rule created only for the UI must also be enforced on the server to prevent bad data from non-UI sources.&lt;/LI&gt;&lt;LI&gt;The &lt;STRONG&gt;“Use as UI Policy”&lt;/STRONG&gt; checkbox in Data Policy allows one rule to work both on the &lt;STRONG&gt;UI and server&lt;/STRONG&gt;, but it supports only &lt;STRONG&gt;mandatory and read-only&lt;/STRONG&gt; actions. Since Data Policies cannot hide fields or handle complex UI logic, &lt;STRONG&gt;UI Policies are still required&lt;/STRONG&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;STRONG&gt;In short:&lt;/STRONG&gt;&lt;BR /&gt;UI Policy = UI behavior&lt;BR /&gt;Data Policy = data integrity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 04:57:04 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454208#M1241463</guid>
      <dc:creator>VaishnaviK3009</dc:creator>
      <dc:date>2025-12-22T04:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454220#M1241464</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I have outlined some differences between UI Policy and Data Policy below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;H3&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;UI Policy&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;UI Policy is &lt;STRONG&gt;client-side&lt;/STRONG&gt; and is used for configuration such as &lt;STRONG&gt;Read-only, Mandatory, and Visible&lt;/STRONG&gt; fields.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;We can write &lt;STRONG&gt;scripts&lt;/STRONG&gt; in UI Policies for additional modifications.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;UI Policies are applied &lt;STRONG&gt;only on UI forms&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;UI Policies &lt;STRONG&gt;do not apply&lt;/STRONG&gt; to &lt;STRONG&gt;onCellEdit actions&lt;/STRONG&gt; (List view editing).&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;To convert a UI Policy to a Data Policy, the following conditions must be met:&lt;BR /&gt;i) &lt;STRONG&gt;Global&lt;/STRONG&gt; checkbox should be checked&lt;BR /&gt;ii) There should be &lt;STRONG&gt;no visibility actions&lt;/STRONG&gt;&lt;BR /&gt;iii) &lt;STRONG&gt;Run scripts&lt;/STRONG&gt; checkbox should be &lt;STRONG&gt;unchecked&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;H3&gt;&lt;FONT size="4"&gt;&lt;STRONG&gt;Data Policy&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;In Data Policy, there are only options for &lt;STRONG&gt;Read-only and Mandatory&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data Policies run on the &lt;STRONG&gt;server side&lt;/STRONG&gt;, meaning they are enforced when data is &lt;STRONG&gt;inserted or updated in the database (table)&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;There is &lt;STRONG&gt;no option to write scripts&lt;/STRONG&gt; in Data Policies.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Data Policies are applied even when data is inserted through &lt;STRONG&gt;Import Sets, Mobile UI, Web Services (API), or integrations&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;For data policy to ui policy conversion there is no any pre-requisit.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(Note - to disble data policy during modifying/creating record using script like gliderecord we need set gr.setUseEngine(false))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this helps you then mark it as helpful accept as solution.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aditya,&lt;/P&gt;&lt;P&gt;Technical Consultant&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 05:15:29 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454220#M1241464</guid>
      <dc:creator>Aditya_hublikar</dc:creator>
      <dc:date>2025-12-22T05:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454229#M1241467</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will give you a short answer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;UI Policy&lt;/STRONG&gt;: Applies only to the UI, it can show/hide fields, clear values, or make a field required in forms, but it does not enforce rules on the database/backend.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Data Policy&lt;/STRONG&gt;: Enforces validation on the server/database level and prevents blank or invalid values from entering the system via imports or integrations.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Best practice&lt;/STRONG&gt;: Use a Data Policy as the authoritative backend validation. If you want the same behavior in the UI, enable the Data Policy’s “use as UI policy” option (so you don’t have to recreate the UI rule). If validation is needed only in the front end, use a UI Policy alone.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Siddhesh Gawade&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 05:20:21 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454229#M1241467</guid>
      <dc:creator>Siddhesh Gawade</dc:creator>
      <dc:date>2025-12-22T05:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454230#M1241468</link>
      <description>&lt;H4&gt;&lt;FONT size="4"&gt;What Data Policy (Use as UI Policy) cannot do&lt;/FONT&gt;&lt;/H4&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Cannot control field visibility (show / hide fields)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Cannot run scripts&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Cannot handle complex conditions or dynamic logic&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Limited to mandatory and read-only only&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 22 Dec 2025 05:20:37 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454230#M1241468</guid>
      <dc:creator>Aditya_hublikar</dc:creator>
      <dc:date>2025-12-22T05:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454231#M1241469</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I hope you're doing well. I see that people have already provided you many links but I'll give you a simple use case on which I worked,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;UI policy:&lt;/STRONG&gt; Let's say you want to make "Assigned to" mandatory when "Assignment group" is changed. Now this will work fine when it's an interactive session meaning when a user is changing Assignment group on Incident form.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Data policies:&lt;/STRONG&gt; Lets say above scenario is non interactive meaning Incident is getting created from an inbound integration. At this time if you have UI policy &amp;amp; Data policy then integration will fail &amp;amp; return error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now lets say you don't want to stop an integration from inserting record in incident table if "Assigned to" is not there because Assignment group manager can assign that incident later. So you will only create UI policy but not data policy.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope my answer helps, if it does then please mark it "Helpful" &amp;amp; "Accept the solution".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 05:21:51 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454231#M1241469</guid>
      <dc:creator>Utpal Dutta</dc:creator>
      <dc:date>2025-12-22T05:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454250#M1241470</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for marking my response as helpful.&lt;/P&gt;
&lt;P&gt;As per new community feature you can mark multiple responses as correct.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":light_bulb:"&gt;💡&lt;/span&gt; If my response helped, please mark it as correct &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; as well so that this helps future readers find the solution faster! &lt;span class="lia-unicode-emoji" title=":folded_hands:"&gt;🙏&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 05:48:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454250#M1241470</guid>
      <dc:creator>Ankur Bawiskar</dc:creator>
      <dc:date>2025-12-22T05:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454261#M1241473</link>
      <description>&lt;P&gt;&lt;STRONG&gt;UI Policy vs Data Policy – Practical Use Case&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;UI Policy&lt;/STRONG&gt; works only on the &lt;STRONG&gt;client side&lt;/STRONG&gt;. It controls form behavior (mandatory, read-only, visible) &lt;STRONG&gt;only in the UI&lt;/STRONG&gt; and improves user experience. It does &lt;STRONG&gt;not enforce data rules&lt;/STRONG&gt; if records are created via API, import, or background scripts.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Policy&lt;/STRONG&gt; works on the &lt;STRONG&gt;server side&lt;/STRONG&gt;. It enforces data rules &lt;STRONG&gt;for all entry points&lt;/STRONG&gt; (UI, API, imports, integrations). It guarantees data integrity.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Why convert UI Policy to Data Policy?&lt;/H3&gt;&lt;P&gt;When a rule initially created for UI guidance becomes a &lt;STRONG&gt;mandatory business rule&lt;/STRONG&gt; that must apply everywhere, you convert it to a Data Policy to &lt;STRONG&gt;prevent invalid data from any source&lt;/STRONG&gt;.&lt;/P&gt;&lt;H3&gt;&amp;nbsp;&lt;/H3&gt;&lt;H3&gt;Why does Data Policy have “Run as UI Policy”?&lt;/H3&gt;&lt;P&gt;When checked:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Client side:&lt;/STRONG&gt; behaves like a UI Policy (immediate feedback to users)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Server side:&lt;/STRONG&gt; still enforces rules during save&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Then why still use UI Policy?&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;UI Policies are &lt;STRONG&gt;lighter and faster&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Useful for &lt;STRONG&gt;UI-only logic&lt;/STRONG&gt; (hide fields, dynamic behavior)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Avoid unnecessary server processing when enforcement is not required&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Best Practice&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;UI Policy:&lt;/STRONG&gt; guide users&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Policy:&lt;/STRONG&gt; enforce rules&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Data Policy + Run as UI Policy:&lt;/STRONG&gt; critical fields that must be valid everywhere&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank You&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 06:11:20 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454261#M1241473</guid>
      <dc:creator>VaishnaviK3009</dc:creator>
      <dc:date>2025-12-22T06:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ui policy vs Data policy??</title>
      <link>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454317#M1241478</link>
      <description>&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/1014100"&gt;@ZebaT&lt;/a&gt;&amp;nbsp; ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Well the answer is simple.&lt;/P&gt;&lt;P&gt;UI policies run on Client Side whereas Data policies run on Server Side.&lt;/P&gt;&lt;P&gt;UI policies have options to make the fields mandatory, readonly and visible whereas Data policies can only make the fields readonly and mandatory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Data policies are mostly helpful when the bulk data is uploaded or your table is integrated with some other application. It checks all the conditions, for e.g if the data upload is happening with a mandatory field missing , it will restrict and throw an error through Data policy which UI policy can't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UI policy will work on UI or only at the Form level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neverthless , both UI polices and Data Policies can be converted to each other.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If my response has helped you, kindly mark it as helpful and accept the solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2025 07:30:35 GMT</pubDate>
      <guid>https://www.servicenow.com/community/developer-forum/ui-policy-vs-data-policy/m-p/3454317#M1241478</guid>
      <dc:creator>nayanmule</dc:creator>
      <dc:date>2025-12-22T07:30:35Z</dc:date>
    </item>
  </channel>
</rss>

