<?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>topic AutomateC.exe /exportqueue - how to get more than 5000 rows? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125648#M54623</link>
    <description>&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I had an interesting requirement lately to export blue prism work queue data to csv, and save on a network share...&lt;/P&gt;&lt;P&gt;So I've written a batch file that does that, but noticed that there is one annoying limitation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asilarow_0-1781100402503.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42221i3EEC77105255D33C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="asilarow_0-1781100402503.png" alt="asilarow_0-1781100402503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The filter by default limits the export to whatever is set on the "Rows Per Page" field.&lt;/P&gt;&lt;P&gt;Now in this particular scenario this is sufficient... however, what if I would have a larger queue?&lt;/P&gt;&lt;P&gt;I can't find anything documented about this anywhere &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anybody know can this be changed somehow? or is this a hard limitation?&lt;/P&gt;&lt;P&gt;Oh, and Ideally I want to avoid having to build a process just for this.&lt;/P&gt;&lt;P&gt;I know this can be done via the work queue reporting process from DX... but it's too much effort for something that should be simple.&lt;/P&gt;&lt;P&gt;FYI - for the interested people, batch file below:&lt;/P&gt;&lt;P&gt;@echo off&lt;BR /&gt;setlocal enabledelayedexpansion&lt;/P&gt;&lt;P&gt;:: ==============================================================================&lt;BR /&gt;:: CONFIGURATION PARAMETERS&lt;BR /&gt;:: ==============================================================================&lt;/P&gt;&lt;P&gt;:: FIXED: Removed the accidental duplicate quote before C:\&lt;BR /&gt;set "BP_PATH=C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe"&lt;/P&gt;&lt;P&gt;:: Blue Prism Queue Name and Saved Filter Name&lt;BR /&gt;set "QUEUE_NAME=WorkQueueNameGoesHere"&lt;BR /&gt;set "QUEUE_FILTER=QueueFilternameGoesHere"&lt;BR /&gt;set "FILENAME_PREFIX=FileNamePrefixGoesHere"&lt;/P&gt;&lt;P&gt;:: Target output directory&lt;BR /&gt;set "TARGET_DIR=OutputDirectoryPathGoesHere"&lt;/P&gt;&lt;P&gt;:: Generate a stable YYYY-MM-DD timestamp independent of Windows locale settings&lt;BR /&gt;for /f "tokens=*" %%i in ('powershell -NoProfile -Command "Get-Date -Format 'yyyy-MM-dd HH-mm'"') do set "TODAY=%%i"&lt;/P&gt;&lt;P&gt;:: Define full export file path (saves as a .csv report)&lt;BR /&gt;set "EXPORT_FILE=%TARGET_DIR%\%FILENAME_PREFIX% - %TODAY%.csv"&lt;/P&gt;&lt;P&gt;:: ==============================================================================&lt;BR /&gt;:: EXECUTION&lt;BR /&gt;:: ==============================================================================&lt;/P&gt;&lt;P&gt;echo Verifying target directory existence...&lt;BR /&gt;if not exist "%TARGET_DIR%" (&lt;BR /&gt;echo Directory does not exist. Creating: "%TARGET_DIR%"&lt;BR /&gt;mkdir "%TARGET_DIR%"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;echo.&lt;BR /&gt;echo Starting Blue Prism Queue Export...&lt;BR /&gt;echo Queue Name: %QUEUE_NAME%&lt;BR /&gt;echo Queue Filter: %QUEUE_FILTER%&lt;BR /&gt;echo Target File: %EXPORT_FILE%&lt;BR /&gt;echo.&lt;/P&gt;&lt;P&gt;:: --- AUTHENTICATION METHOD ---&lt;BR /&gt;:: Ideally should be done via credential store, but for smaller deployments this is fine&lt;/P&gt;&lt;P&gt;"%BP_PATH%" /user USERNAME PASSWORD /queuename "%QUEUE_NAME%" /queuefilter "%QUEUE_FILTER%" /exportqueue "%EXPORT_FILE%"&lt;/P&gt;&lt;P&gt;:: FIXED: Using GOTO instead of () blocks to prevent parenthesis from crashing the script&lt;BR /&gt;if %ERRORLEVEL% equ 0 goto :success&lt;BR /&gt;goto :failed&lt;/P&gt;&lt;P&gt;:success&lt;BR /&gt;echo.&lt;BR /&gt;echo [SUCCESS] Queue data exported successfully to: "%EXPORT_FILE%"&lt;BR /&gt;goto :end&lt;/P&gt;&lt;P&gt;:failed&lt;BR /&gt;echo.&lt;BR /&gt;echo [ERROR] Export failed with exit code %ERRORLEVEL%.&lt;BR /&gt;echo Please verify that the saved filter "%QUEUE_FILTER%" exists in the Control Room and that your credentials are valid.&lt;BR /&gt;goto :end&lt;/P&gt;&lt;P&gt;:end&lt;BR /&gt;echo.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jun 2026 14:17:27 GMT</pubDate>
    <dc:creator>asilarow</dc:creator>
    <dc:date>2026-06-10T14:17:27Z</dc:date>
    <item>
      <title>AutomateC.exe /exportqueue - how to get more than 5000 rows?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125648#M54623</link>
      <description>&lt;P&gt;Hey All,&lt;/P&gt;&lt;P&gt;I had an interesting requirement lately to export blue prism work queue data to csv, and save on a network share...&lt;/P&gt;&lt;P&gt;So I've written a batch file that does that, but noticed that there is one annoying limitation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="asilarow_0-1781100402503.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/42221i3EEC77105255D33C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="asilarow_0-1781100402503.png" alt="asilarow_0-1781100402503.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The filter by default limits the export to whatever is set on the "Rows Per Page" field.&lt;/P&gt;&lt;P&gt;Now in this particular scenario this is sufficient... however, what if I would have a larger queue?&lt;/P&gt;&lt;P&gt;I can't find anything documented about this anywhere &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does anybody know can this be changed somehow? or is this a hard limitation?&lt;/P&gt;&lt;P&gt;Oh, and Ideally I want to avoid having to build a process just for this.&lt;/P&gt;&lt;P&gt;I know this can be done via the work queue reporting process from DX... but it's too much effort for something that should be simple.&lt;/P&gt;&lt;P&gt;FYI - for the interested people, batch file below:&lt;/P&gt;&lt;P&gt;@echo off&lt;BR /&gt;setlocal enabledelayedexpansion&lt;/P&gt;&lt;P&gt;:: ==============================================================================&lt;BR /&gt;:: CONFIGURATION PARAMETERS&lt;BR /&gt;:: ==============================================================================&lt;/P&gt;&lt;P&gt;:: FIXED: Removed the accidental duplicate quote before C:\&lt;BR /&gt;set "BP_PATH=C:\Program Files\Blue Prism Limited\Blue Prism Automate\AutomateC.exe"&lt;/P&gt;&lt;P&gt;:: Blue Prism Queue Name and Saved Filter Name&lt;BR /&gt;set "QUEUE_NAME=WorkQueueNameGoesHere"&lt;BR /&gt;set "QUEUE_FILTER=QueueFilternameGoesHere"&lt;BR /&gt;set "FILENAME_PREFIX=FileNamePrefixGoesHere"&lt;/P&gt;&lt;P&gt;:: Target output directory&lt;BR /&gt;set "TARGET_DIR=OutputDirectoryPathGoesHere"&lt;/P&gt;&lt;P&gt;:: Generate a stable YYYY-MM-DD timestamp independent of Windows locale settings&lt;BR /&gt;for /f "tokens=*" %%i in ('powershell -NoProfile -Command "Get-Date -Format 'yyyy-MM-dd HH-mm'"') do set "TODAY=%%i"&lt;/P&gt;&lt;P&gt;:: Define full export file path (saves as a .csv report)&lt;BR /&gt;set "EXPORT_FILE=%TARGET_DIR%\%FILENAME_PREFIX% - %TODAY%.csv"&lt;/P&gt;&lt;P&gt;:: ==============================================================================&lt;BR /&gt;:: EXECUTION&lt;BR /&gt;:: ==============================================================================&lt;/P&gt;&lt;P&gt;echo Verifying target directory existence...&lt;BR /&gt;if not exist "%TARGET_DIR%" (&lt;BR /&gt;echo Directory does not exist. Creating: "%TARGET_DIR%"&lt;BR /&gt;mkdir "%TARGET_DIR%"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;echo.&lt;BR /&gt;echo Starting Blue Prism Queue Export...&lt;BR /&gt;echo Queue Name: %QUEUE_NAME%&lt;BR /&gt;echo Queue Filter: %QUEUE_FILTER%&lt;BR /&gt;echo Target File: %EXPORT_FILE%&lt;BR /&gt;echo.&lt;/P&gt;&lt;P&gt;:: --- AUTHENTICATION METHOD ---&lt;BR /&gt;:: Ideally should be done via credential store, but for smaller deployments this is fine&lt;/P&gt;&lt;P&gt;"%BP_PATH%" /user USERNAME PASSWORD /queuename "%QUEUE_NAME%" /queuefilter "%QUEUE_FILTER%" /exportqueue "%EXPORT_FILE%"&lt;/P&gt;&lt;P&gt;:: FIXED: Using GOTO instead of () blocks to prevent parenthesis from crashing the script&lt;BR /&gt;if %ERRORLEVEL% equ 0 goto :success&lt;BR /&gt;goto :failed&lt;/P&gt;&lt;P&gt;:success&lt;BR /&gt;echo.&lt;BR /&gt;echo [SUCCESS] Queue data exported successfully to: "%EXPORT_FILE%"&lt;BR /&gt;goto :end&lt;/P&gt;&lt;P&gt;:failed&lt;BR /&gt;echo.&lt;BR /&gt;echo [ERROR] Export failed with exit code %ERRORLEVEL%.&lt;BR /&gt;echo Please verify that the saved filter "%QUEUE_FILTER%" exists in the Control Room and that your credentials are valid.&lt;BR /&gt;goto :end&lt;/P&gt;&lt;P&gt;:end&lt;BR /&gt;echo.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 14:17:27 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125648#M54623</guid>
      <dc:creator>asilarow</dc:creator>
      <dc:date>2026-06-10T14:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: AutomateC.exe /exportqueue - how to get more than 5000 rows?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125650#M54624</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1602"&gt;@asilarow&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;How about retrieving records directly from the database using SSMS, Power BI, or Excel?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2026 23:46:48 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125650#M54624</guid>
      <dc:creator>sumire</dc:creator>
      <dc:date>2026-06-10T23:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: AutomateC.exe /exportqueue - how to get more than 5000 rows?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125655#M54625</link>
      <description>&lt;P&gt;Oh, sorry... forgot to mention - this is on Blue Prism Cloud... so no access to the DB &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2026 08:03:06 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/AutomateC-exe-exportqueue-how-to-get-more-than-5000-rows/m-p/125655#M54625</guid>
      <dc:creator>asilarow</dc:creator>
      <dc:date>2026-06-11T08:03:06Z</dc:date>
    </item>
  </channel>
</rss>

