<?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 export limits for scheduled list reports in Platform Analytics forum</title>
    <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224685#M12910</link>
    <description>&lt;P&gt;Do list reports that get "exported" via a scheduled e-mail respect the export limits in the platform, as defined below?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/exporting-data/concept/c_ExportLimits.html" rel="nofollow"&gt;https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/exporting-data/concept/c_ExportLimits.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example, if I currently have my CSV Format export row limit set at 250k rows, if this row limit is exceeded in a scheduled e-mail of a list report (in csv format), will the file be truncated?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Jul 2019 18:39:46 GMT</pubDate>
    <dc:creator>Casey12</dc:creator>
    <dc:date>2019-07-03T18:39:46Z</dc:date>
    <item>
      <title>export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224685#M12910</link>
      <description>&lt;P&gt;Do list reports that get "exported" via a scheduled e-mail respect the export limits in the platform, as defined below?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/exporting-data/concept/c_ExportLimits.html" rel="nofollow"&gt;https://docs.servicenow.com/bundle/madrid-platform-administration/page/administer/exporting-data/concept/c_ExportLimits.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example, if I currently have my CSV Format export row limit set at 250k rows, if this row limit is exceeded in a scheduled e-mail of a list report (in csv format), will the file be truncated?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 18:39:46 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224685#M12910</guid>
      <dc:creator>Casey12</dc:creator>
      <dc:date>2019-07-03T18:39:46Z</dc:date>
    </item>
    <item>
      <title>Re: export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224686#M12911</link>
      <description>&lt;P&gt;Yes it will be.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:14:47 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224686#M12911</guid>
      <dc:creator>Prateek kumar</dc:creator>
      <dc:date>2019-07-03T19:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224687#M12912</link>
      <description>&lt;P&gt;I would imagine so, as I doubt this "loop-hole" exists, haha. You could always test this yourself and click "execute now" for the scheduled report and see what happens.&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Please mark reply as Helpful/Correct, if applicable. Thanks!&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:16:03 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224687#M12912</guid>
      <dc:creator>Allen Andreas</dc:creator>
      <dc:date>2019-07-03T19:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224688#M12913</link>
      <description>&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/istanbul-performance-analytics-and-reporting/page/administer/exporting-data/concept/c_ExportLimits.html" rel="nofollow"&gt;https://docs.servicenow.com/bundle/istanbul-performance-analytics-and-reporting/page/administer/exporting-data/concept/c_ExportLimits.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/notification/reference/r_AttachmentLimitProperties.html" rel="nofollow"&gt;https://docs.servicenow.com/bundle/london-servicenow-platform/page/administer/notification/reference/r_AttachmentLimitProperties.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:18:53 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/1224688#M12913</guid>
      <dc:creator>Prateek kumar</dc:creator>
      <dc:date>2019-07-03T19:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/3000679#M57569</link>
      <description>&lt;P&gt;When I send a scheduled report of XLS with 7k records to 11 email ids, it doesnt go. When i send it to 2 people with email, it goes ? why so&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2024 10:39:17 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/3000679#M57569</guid>
      <dc:creator>Snehal13</dc:creator>
      <dc:date>2024-07-26T10:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: export limits for scheduled list reports</title>
      <link>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/3028801#M57879</link>
      <description>&lt;P&gt;When I try to access the links to the documentation I get a “404” result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried it with a scheduled job which is executed daily at 9 pm. All incidents that were opened “today” are requested.&lt;/P&gt;&lt;P&gt;When I run this manually, I receive the two messages in the syslog that it has started and finished, but the two recipients (censored here) do not receive any mail.&lt;/P&gt;&lt;P&gt;What is wrong?&lt;/P&gt;&lt;P&gt;If I use the function on the incident list (Export &amp;gt; Excel &amp;gt; Mail) then I receive the mail and the desired attachment.&amp;nbsp;So that works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;// Create a new GlideRecord instance
var gr = new GlideRecord('incident');

// Log a message indicating that the job has been started
gs.info('The Scheduled Job has been started');

// Add a query to get only incidents that were opened today
gr.addQuery('opened_at', 'ON', gs.daysAgoStart(0));
gr.query();

// Rest of your script...

// Create a variable to store the CSV data
var csv = '';

// Run through the results of the query
while (gr.next()) {
    // Add the data of each incident to the CSV variable
    csv += gr.number + ',' + gr.short_description + ',' + gr.opened_at + '\n';
}

// Create a new email
var mail = new GlideEmailOutbound();
mail.setSubject('List of incidents opened today');
mail.setBody('Attached you will find a list of the incidents opened today in CSV format');
mail.addTo('Recipient1');
mail.addTo('Recipient 2');

// Add the CSV data as an attachment to the email
mail.addPart(csv, 'text/csv', 'incidents.csv');

// Send the e-mail
mail.send();

// Log a message indicating that the job has been started
gs.info('The scheduled job has finished');&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 14:03:50 GMT</pubDate>
      <guid>https://www.servicenow.com/community/platform-analytics-forum/export-limits-for-scheduled-list-reports/m-p/3028801#M57879</guid>
      <dc:creator>thoemu_s</dc:creator>
      <dc:date>2024-08-27T14:03:50Z</dc:date>
    </item>
  </channel>
</rss>

