<?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 ITSM in Community Central forum</title>
    <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110062#M1678</link>
    <description>&lt;P&gt;importance of order number in ui policy&lt;/P&gt;</description>
    <pubDate>Thu, 21 Nov 2024 14:21:22 GMT</pubDate>
    <dc:creator>CherukuA</dc:creator>
    <dc:date>2024-11-21T14:21:22Z</dc:date>
    <item>
      <title>ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110062#M1678</link>
      <description>&lt;P&gt;importance of order number in ui policy&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 14:21:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110062#M1678</guid>
      <dc:creator>CherukuA</dc:creator>
      <dc:date>2024-11-21T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110411#M1682</link>
      <description>&lt;P&gt;The order number in the UI policy is the order it will run. The lower the number the earlier it will run in comparison to other UI policies on the table. For example&lt;BR /&gt;UI policy A has an order of 100 and HIDES field A&lt;/P&gt;
&lt;P&gt;UI policy B has an order of 200 and SHOWS field A&lt;/P&gt;
&lt;P&gt;Those are conflicting UI Policies, so the form would load, UI Policy A would run first since it has the lower order number, so it would HIDE field A, but then UI Policy B would run second as it has the higher order number, and would SHOW field A. So in this case field A would always be shown. If you reversed these orders, then Field A would always be HIDDEN as UI Policy A would run last.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 19:57:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110411#M1682</guid>
      <dc:creator>Zach Koch</dc:creator>
      <dc:date>2024-11-21T19:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110701#M1691</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/755610"&gt;@CherukuA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UI Policies execute in the other indicated by the Order field, starting with one. The higher the value, the later it executes. This also means that a higher value in the Order field means that the policy will take priority over others with a lower Order value&lt;/P&gt;
&lt;P&gt;for more knowledge check below links&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/best-practices-for-ui-policies/m-p/2838124#:~:text=**UI%20Policies%20Order**%3A,ensure%20they%20are%20ordered%20correctly" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/best-practices-for-ui-policies/m-p/2838124#:~:text=**UI%20Policies%20Order**%3A,ensure%20they%20are%20ordered%20correctly&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/what-is-order-of-execution-of-ui-policy-weather-do-they-get/m-p/2098178" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/what-is-order-of-execution-of-ui-policy-weather-do-they-get/m-p/2098178&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;if my answer helps you mark helpful and accept solution&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:07:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110701#M1691</guid>
      <dc:creator>Harish Bainsla</dc:creator>
      <dc:date>2024-11-22T06:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110708#M1692</link>
      <description>&lt;P&gt;Hello &lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/755610"&gt;@CherukuA&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not only in UI policies, ServiceNow executes other things like Client scripts, Business Rule etc in ascending order.&lt;/P&gt;
&lt;P&gt;The lower value first, till the higher value it executes.&lt;/P&gt;
&lt;P&gt;Please refer below doc:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.servicenow.com/community/developer-forum/what-is-order-of-execution-of-ui-policy-weather-do-they-get/m-p/2098178" target="_blank"&gt;https://www.servicenow.com/community/developer-forum/what-is-order-of-execution-of-ui-policy-weather-do-they-get/m-p/2098178&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please mark the answer as helpful and correct if helped.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;Ravi Chandra&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:12:11 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110708#M1692</guid>
      <dc:creator>Ravi Chandra_K</dc:creator>
      <dc:date>2024-11-22T06:12:11Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110716#M1693</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/755610"&gt;@CherukuA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The order number in a UI Policy defines the sequence in which policies are executed. Lower numbers execute first, and higher numbers follow. This becomes crucial when multiple policies affect the same field, as the last executed policy takes precedence.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, if one policy with a lower order hides a field and another with a higher order shows it, the field will end up being visible. To avoid conflicts or unexpected behavior, always review the order and test the interaction of policies thoroughly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A clear order ensures predictable outcomes, especially in forms with complex logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Please Mark &lt;/STRONG&gt;&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt;&lt;EM&gt;&lt;STRONG&gt;Correct if this solves your query and also mark &lt;/STRONG&gt;&lt;/EM&gt;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;EM&gt;&lt;STRONG&gt;Helpful if you find my response worthy based on the impact.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;Aniket&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:19:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110716#M1693</guid>
      <dc:creator>AniketC85155510</dc:creator>
      <dc:date>2024-11-22T06:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110718#M1694</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/755610"&gt;@CherukuA&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To keep it simple for explonation...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Every servicenow execution record has order field were you genereally updated a number. lets say you have 5 ui policy in incident table ,each UI policy is going to have a number like below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UI Policy 1 -- Order 100&lt;/P&gt;
&lt;P&gt;UI Policy 2 -- Order 200&lt;/P&gt;
&lt;P&gt;UI Policy 3 -- Order 300&lt;/P&gt;
&lt;P&gt;UI Policy 4 -- Order 400&lt;/P&gt;
&lt;P&gt;UI Policy 5 -- Order 500&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so here the UI policy 1 will execute 1st reason being the order value is 100 (least number will execute first, so based on the order each UI policy will execute one after the other 100 , 200, 300 and so on...)&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:21:32 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110718#M1694</guid>
      <dc:creator>Sohail Khilji</dc:creator>
      <dc:date>2024-11-22T06:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: ITSM</title>
      <link>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110722#M1695</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/755610"&gt;@CherukuA&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Order number in a UI Policy determines the sequence in which multiple UI Policies are executed. This is crucial when multiple policies act on the same fields or elements. Lower order numbers are executed first, and the results can affect subsequent policies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;BR /&gt;- UI Policy A (order 100) disables a field.&lt;BR /&gt;- UI Policy B (order 200) makes the same field mandatory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The execution order ensures predictable behavior and avoids conflicts. Properly configuring order numbers is important for maintaining logic and functionality in complex UI customizations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Runjay Patel - ServiceNow Solution Architect&lt;BR /&gt;YouTube: &lt;A href="https://www.youtube.com/@RunjayP" target="_blank"&gt;https://www.youtube.com/@RunjayP&lt;/A&gt;&lt;BR /&gt;LinkedIn: &lt;A href="https://www.linkedin.com/in/runjay" target="_blank"&gt;https://www.linkedin.com/in/runjay&lt;/A&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 06:28:34 GMT</pubDate>
      <guid>https://www.servicenow.com/community/community-central-forum/itsm/m-p/3110722#M1695</guid>
      <dc:creator>Runjay Patel</dc:creator>
      <dc:date>2024-11-22T06:28:34Z</dc:date>
    </item>
  </channel>
</rss>

