<?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: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ? in ServiceNow AI Platform forum</title>
    <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191090#M147479</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;"Can you confirm if this is the case if we have dependency of more than one table on a table for which we have configured sys_auto_flush record ??"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;sorry, but I don't understand&amp;nbsp;this question. Two "if" in one sentence are irritating me!&lt;/P&gt;
&lt;P&gt;But maybe I am not the right person to answer your questions as I did not build the table cleaner.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;</description>
    <pubDate>Wed, 20 Oct 2021 10:20:22 GMT</pubDate>
    <dc:creator>Maik Skoddow</dc:creator>
    <dc:date>2021-10-20T10:20:22Z</dc:date>
    <item>
      <title>How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191082#M147471</link>
      <description>&lt;P&gt;Suppose I have a &lt;STRONG&gt;Incident&lt;/STRONG&gt; and few tables are dependent on Incident like &lt;STRONG&gt;Incident Task&lt;/STRONG&gt; and &lt;STRONG&gt;Customer&lt;/STRONG&gt;. I wanna know if I have sys_auto_flush record created for all these tables with '&lt;EM&gt;Age in Seconds'&lt;/EM&gt;&amp;nbsp;as 9 months for each, which table record will get deleted first and will all record be deleted at once for that table or it will pick few records for 1st iteration of deletion ?&amp;nbsp; How exactly will the Scheduled job(Table Cleaner) work ?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 06:04:30 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191082#M147471</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2021-10-13T06:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191083#M147472</link>
      <description>&lt;P&gt;Hi &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please read article at&amp;nbsp;&lt;A href="https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=f6578d61db502810fb115583ca961940" target="_blank" rel="noopener noreferrer"&gt;https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=f6578d61db502810fb115583ca961940&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I suppose you will not get a better explanation on how the cleaner works as this article is from the ServiceNow platform team.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 07:02:00 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191083#M147472</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-10-13T07:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191084#M147473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In case you think I was able to answer your question, I would be happy if you mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/P&gt;
&lt;P&gt;If so, please mark the appropriate response as "correct" so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/P&gt;
&lt;P&gt;If not, please tell me what you are still missing!&lt;/P&gt;
&lt;P&gt;Many thanks &amp;amp; kind regards&lt;BR /&gt;Maik&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:18:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191084#M147473</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-10-19T06:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191085#M147474</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;for the article&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fbabf62bdbe140d02be0a851ca9619cc"&gt;@Maik Skoddow&lt;/SN-MENTION&gt;&amp;nbsp;, but&amp;nbsp;I still have some&amp;nbsp;questions which I have posted in the link (https://community.servicenow.com/community?id=community_article&amp;amp;sys_id=f6578d61db502810fb115583ca961940) provided by you.&lt;/P&gt;
&lt;P&gt;Looking forward to get answers on that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 06:40:31 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191085#M147474</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2021-10-19T06:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191086#M147475</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;did you see the answers at that article?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was pleasantly surprised to see that the ServiceNow team answered your questions quite detailed.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 09:02:15 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191086#M147475</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-10-19T09:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191087#M147476</link>
      <description>&lt;P&gt;hi &lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fbabf62bdbe140d02be0a851ca9619cc"&gt;@Maik Skoddow&lt;/SN-MENTION&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;No doubt Servicenow Team has&amp;nbsp;well explained the table cleaner but I haven't got exact answer to my question.&lt;/P&gt;
&lt;P&gt;Here's the thing, if you remember what I wanna know, is that considering there are multiple sys_auto_flush records that we are moving&amp;nbsp;to higher instances at once with matching field and age in seconds as same for all records , in this Case I wanna know &lt;STRONG&gt;which table&amp;nbsp;will be first picked up by table cleaner to delete the records ?&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;And there's one more thing I've mentioned as a question in that article&amp;nbsp;....&lt;/P&gt;
&lt;P&gt;Suppose If we have&amp;nbsp;any table( incident_task) which is dependent on another table( incident) as shown below .&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="find_real_file.png"&gt;&lt;img src="https://www.servicenow.com/community/image/serverpage/image-id/116366iCAD570B5D5B7EEB7/image-size/large?v=v2&amp;amp;px=999" srcset="/community/image/serverpage/image-id/116366iCAD570B5D5B7EEB7/image-size/large?v=v2&amp;amp;px=999 1.0x" role="button" title="find_real_file.png" alt="find_real_file.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And the&amp;nbsp;&lt;EM&gt;Table cleaner&lt;/EM&gt;&amp;nbsp;picks up 'incident_task'&amp;nbsp; first to delete the data, how will this work since 'Incident' records are not yet deleted and hence the condition will not be matched.&lt;/P&gt;
&lt;P&gt;What will happen in this case ?&lt;/P&gt;
&lt;P&gt;If you've answers to my question , kindly reply.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Oct 2021 10:36:55 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191087#M147476</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2021-10-19T10:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191088#M147477</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is no guaranteed order in the selection of tables in case of equal conditions.&lt;/P&gt;
&lt;P&gt;And regarding your second question:&lt;BR /&gt;A reference to the parent Incident record is just a string value. Therefore no technical dependencies exist and the &lt;SPAN style="font-family: 'courier new', courier;"&gt;&lt;STRONG&gt;incident_task&lt;/STRONG&gt;&lt;/SPAN&gt; records can be deleted without any problems.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: verdana, geneva; font-size: 10pt; color: #0000ff;"&gt;If my answer replied your question&amp;nbsp;please mark appropriate response as &lt;STRONG&gt;correct&lt;/STRONG&gt; so that the question will appear as resolved for other users who may have a similar question in the future.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 05:11:56 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191088#M147477</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-10-20T05:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191089#M147478</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Okay one doubt is clear, there's no guaranteed order in table selection.&lt;/P&gt;
&lt;P&gt;Just one more thing if you can confirm.&lt;/P&gt;
&lt;P&gt;Be it any number of condition&amp;nbsp;for a table(in a sys_auto_flush record), as Table Cleaner runs every hour it might take time((delete few records at one go) but will delete all records that matches&amp;nbsp;the condition for each record configured in sys_auto_flush table.&lt;/P&gt;
&lt;P&gt;Can you confirm if this is the case if we have dependency of more than one table on a table for which we have configured sys_auto_flush record ??&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 06:11:48 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191089#M147478</guid>
      <dc:creator>Community Alums</dc:creator>
      <dc:date>2021-10-20T06:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: How Table Cleaner(scheduled job) works to execute sys_auto_flush records ?</title>
      <link>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191090#M147479</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SN-MENTION class="sn-mention" table="live_profile" sysid="fee8d7431b6b0894ada243f6fe4bcb2b"&gt;@abc&lt;/SN-MENTION&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt;"Can you confirm if this is the case if we have dependency of more than one table on a table for which we have configured sys_auto_flush record ??"&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;sorry, but I don't understand&amp;nbsp;this question. Two "if" in one sentence are irritating me!&lt;/P&gt;
&lt;P&gt;But maybe I am not the right person to answer your questions as I did not build the table cleaner.&lt;/P&gt;
&lt;P&gt;Kind regards&lt;BR /&gt;Maik&lt;/P&gt;</description>
      <pubDate>Wed, 20 Oct 2021 10:20:22 GMT</pubDate>
      <guid>https://www.servicenow.com/community/servicenow-ai-platform-forum/how-table-cleaner-scheduled-job-works-to-execute-sys-auto-flush/m-p/1191090#M147479</guid>
      <dc:creator>Maik Skoddow</dc:creator>
      <dc:date>2021-10-20T10:20:22Z</dc:date>
    </item>
  </channel>
</rss>

