<?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: Neighborhood – Deactivate users in WSD forum</title>
    <link>https://www.servicenow.com/community/wsd-forum/neighborhood-deactivate-users/m-p/3485273#M1800</link>
    <description>&lt;P&gt;Hi My Friend,&lt;/P&gt;&lt;P&gt;This is happening because of how the Neighborhood assignment job is built — it’s not looking at who used to be assigned, its only looking at who is actively assigned right now.&lt;/P&gt;&lt;P&gt;When the daily User Assignment Rule runs, it checks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;does this user meet the rule?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;do they already have an active assignment?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since the script include (WPNeighborhoodUserUtilsSNC) only queries active records, the moment you set one to inactive the system treats it like the user was never assigned.&lt;/P&gt;&lt;P&gt;So on the next run, it simply adds them back again.&lt;/P&gt;&lt;P&gt;Basically:&lt;BR /&gt;Inactive ≠ excluded&lt;BR /&gt;Inactive = not assigned anymore → rule adds them again&lt;/P&gt;&lt;P&gt;There isnt a built-in “do not auto-assign this user” state, which is why this loop happens.&lt;/P&gt;&lt;P&gt;If you truly need someone removed and kept out, the fix isnt deactivating the record — its adjusting the assignment rule so that user no longer qualifiesor adding an exclusion condition/flag the rule respects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/588501"&gt;@Christopher W&lt;/a&gt;&amp;nbsp;- If help answer, Please mark&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt; Solution Accepted&lt;/EM&gt;&lt;/STRONG&gt; &lt;/FONT&gt;and &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Thumbs Up&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Feb 2026 02:30:49 GMT</pubDate>
    <dc:creator>Matthew_13</dc:creator>
    <dc:date>2026-02-10T02:30:49Z</dc:date>
    <item>
      <title>Neighborhood – Deactivate users</title>
      <link>https://www.servicenow.com/community/wsd-forum/neighborhood-deactivate-users/m-p/3483734#M1797</link>
      <description>&lt;P&gt;Neighborhood members can be added manually or automatically (via User Assignment Rule, executed daily via Scheduled Job).&lt;BR /&gt;To add members manually, create a record in the Workplace Profile Location Assignments Related List either on the Neighborhood Record or the User Workplace Profile Record. The automatic approach to adding members also creates these records.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, if it is necessary to remove a user who was previously added &lt;U&gt;automatically&lt;/U&gt;, it is not sufficient to set the Active field of the Workplace Profile Location Assignments Record to false. When the User Assignment Rule is executed daily, new active records are created. The reason for this is that only active records are taken into account in the script include “WPNeighborhoodUserUtilsSNC” using addActiveQuery().&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChristopherW_0-1770391020486.png" style="width: 813px;"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/500162iAE7A6DBD40BD9D2B/image-dimensions/813x181/is-moderation-mode/true?v=v2" width="813" height="181" role="button" title="ChristopherW_0-1770391020486.png" alt="ChristopherW_0-1770391020486.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know the technical reason for this?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 15:19:18 GMT</pubDate>
      <guid>https://www.servicenow.com/community/wsd-forum/neighborhood-deactivate-users/m-p/3483734#M1797</guid>
      <dc:creator>Christopher W</dc:creator>
      <dc:date>2026-02-06T15:19:18Z</dc:date>
    </item>
    <item>
      <title>Re: Neighborhood – Deactivate users</title>
      <link>https://www.servicenow.com/community/wsd-forum/neighborhood-deactivate-users/m-p/3485273#M1800</link>
      <description>&lt;P&gt;Hi My Friend,&lt;/P&gt;&lt;P&gt;This is happening because of how the Neighborhood assignment job is built — it’s not looking at who used to be assigned, its only looking at who is actively assigned right now.&lt;/P&gt;&lt;P&gt;When the daily User Assignment Rule runs, it checks:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;does this user meet the rule?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;do they already have an active assignment?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since the script include (WPNeighborhoodUserUtilsSNC) only queries active records, the moment you set one to inactive the system treats it like the user was never assigned.&lt;/P&gt;&lt;P&gt;So on the next run, it simply adds them back again.&lt;/P&gt;&lt;P&gt;Basically:&lt;BR /&gt;Inactive ≠ excluded&lt;BR /&gt;Inactive = not assigned anymore → rule adds them again&lt;/P&gt;&lt;P&gt;There isnt a built-in “do not auto-assign this user” state, which is why this loop happens.&lt;/P&gt;&lt;P&gt;If you truly need someone removed and kept out, the fix isnt deactivating the record — its adjusting the assignment rule so that user no longer qualifiesor adding an exclusion condition/flag the rule respects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://www.servicenow.com/community/user/viewprofilepage/user-id/588501"&gt;@Christopher W&lt;/a&gt;&amp;nbsp;- If help answer, Please mark&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt; Solution Accepted&lt;/EM&gt;&lt;/STRONG&gt; &lt;/FONT&gt;and &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Thumbs Up&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 02:30:49 GMT</pubDate>
      <guid>https://www.servicenow.com/community/wsd-forum/neighborhood-deactivate-users/m-p/3485273#M1800</guid>
      <dc:creator>Matthew_13</dc:creator>
      <dc:date>2026-02-10T02:30:49Z</dc:date>
    </item>
  </channel>
</rss>

