<?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: Deleting Records in sys_user table effecting &amp;quot;sys_trigger&amp;quot; and &amp;quot;cmn_notif_device&amp;quot; and &amp;quot;label_history&amp;quot; tables in GRC forum</title>
    <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315753#M7386</link>
    <description>&lt;P&gt;I checked the tables already. I am ok deleting record from "&lt;STRONG&gt;cmn_notif_dev&lt;/STRONG&gt;" but not sure that deleting record from "&lt;STRONG&gt;label_history&lt;/STRONG&gt;". Will it effect others as well that I wanted to know before delete.&lt;/P&gt;
&lt;P&gt;And a record is inserting into "&lt;STRONG&gt;sys_trigger&lt;/STRONG&gt;" table, Is it ok if a record inserted for a deletion of&amp;nbsp; a record in "sys_user" table?&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 07:44:33 GMT</pubDate>
    <dc:creator>Devi12</dc:creator>
    <dc:date>2022-07-21T07:44:33Z</dc:date>
    <item>
      <title>Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315749#M7382</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;In core_company table I have loaded the vendor data manually including "vendor manager" field. Inserting "Vendor managert" field inserted a vendor contacts in "sys_user" table. As I don't want that data I am trying to delete those user records from "sys_user" table. I have written a background script to delete user records from 'sys_user' table. But deleting a record in user table effecting other tables like "sys_trigger" and "cmn_notif_device" and "label_history".&lt;/P&gt;
&lt;P&gt;Here I am attaching the screenshot for the same.&lt;/P&gt;
&lt;P&gt;Why it is deleting and inserting records from other tables. Can I delete these records.&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 05:42:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315749#M7382</guid>
      <dc:creator>Devi12</dc:creator>
      <dc:date>2022-07-21T05:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315750#M7383</link>
      <description>&lt;P&gt;You have cascade delete available on the sys_user table, so as soon as you are going to delete the user table, its associated records will be deleted as well, it is expected behavior.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Feel free to mark correct, If I answered your query.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Will be helpful for future visitors looking for similar questions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 05:54:36 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315750#M7383</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-07-21T05:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315751#M7384</link>
      <description>&lt;P&gt;Hi Aman,&lt;/P&gt;
&lt;P&gt;Is there any possibility of not deleting the cascaded records? And what is the use of these tables "sys_trigger" and "cmn_notif_device" and "label_history"? I checked in community, I was not able to understand.&lt;/P&gt;
&lt;P&gt;Thanks for the reply!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:06:05 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315751#M7384</guid>
      <dc:creator>Devi12</dc:creator>
      <dc:date>2022-07-21T07:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315752#M7385</link>
      <description>&lt;P&gt;&lt;STRONG&gt;No, it is not possible, unless you disable cascade deletion at the table level.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;sys_trigger &lt;/STRONG&gt;- schedule job would be running next&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;cmn_notif_dev-&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;- Once a record is created in the sys user table, the same will be created in the cmn_notif_dev table as well. Updates go the same way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - For example, when the email address of a user is updated in the sys user table, "update email devices" BR will get executed and updates the email address for this user in the cmn_notif_dev table as well&lt;/P&gt;
&lt;P&gt;&amp;nbsp; - &amp;nbsp; Primary address of a user in the cmn notifies table is used to send Notifications. This will override the email address configured for this user in the sys user table&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;label_history &lt;/STRONG&gt;- It is connected with history sets and stores the level, you can visit this table to understand better&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:20:41 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315752#M7385</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-07-21T07:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315753#M7386</link>
      <description>&lt;P&gt;I checked the tables already. I am ok deleting record from "&lt;STRONG&gt;cmn_notif_dev&lt;/STRONG&gt;" but not sure that deleting record from "&lt;STRONG&gt;label_history&lt;/STRONG&gt;". Will it effect others as well that I wanted to know before delete.&lt;/P&gt;
&lt;P&gt;And a record is inserting into "&lt;STRONG&gt;sys_trigger&lt;/STRONG&gt;" table, Is it ok if a record inserted for a deletion of&amp;nbsp; a record in "sys_user" table?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:44:33 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315753#M7386</guid>
      <dc:creator>Devi12</dc:creator>
      <dc:date>2022-07-21T07:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting Records in sys_user table effecting "sys_trigger" and "cmn_notif_device" and "label_history" tables</title>
      <link>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315754#M7387</link>
      <description>&lt;P&gt;Well you can follow below article to handle deletion of records, well SN doesn;t recommend deletion of users, you can just mark them inactive, if you want to prevent unwanted records to be deleted.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.servicenow.com/kb?id=kb_article_view&amp;amp;sysparm_article=KB0726509"&gt;Things to Consider before Removing/Deleting your Data&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Feel free to mark correct, If I answered your query.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Will be helpful for future visitors looking for similar questions &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 07:48:28 GMT</pubDate>
      <guid>https://www.servicenow.com/community/grc-forum/deleting-records-in-sys-user-table-effecting-quot-sys-trigger/m-p/1315754#M7387</guid>
      <dc:creator>Aman Kumar S</dc:creator>
      <dc:date>2022-07-21T07:48:28Z</dc:date>
    </item>
  </channel>
</rss>

