<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/discussions/f/general/9171/unable-to-fetch-entire-data-using-getdatasubsetdownloadlinkfromprocess</link><description>Hi All, As we have our environment on cloud I am using #getdatasubsetdownloadlinkfromprocess to fetch data from process model. I am to extract data in excel sheet, however data in table is 7000 rows, but I can see only 1200 being extracted. I have used</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/75426?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 09:40:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:81cd014f-e6fc-4b30-9e9e-d676c286034f</guid><dc:creator>Gajapathy Ganesan</dc:creator><description>&lt;p&gt;Thanks &lt;a href="/members/thenmozhim"&gt;Thenmozhi Mohanakrishnan&lt;/a&gt; I was also facing this issue and this solution worked!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/47978?ContentTypeID=1</link><pubDate>Mon, 28 Aug 2017 08:33:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:529b73b8-3f99-4b25-8401-2ded0c1181a9</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>The Issue has resolved. The data was not populating in process model since the rule had loggedInUser(). I replaced the function with an ri and passed the pp!inititator while calling the rule from process.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/47723?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 09:08:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a02cd213-7b9b-4728-92a3-51c2c7bee6e1</guid><dc:creator>akshaiv138</dc:creator><description>Could you try and use &amp;quot;Export SQL to Excel Smart Service&amp;quot;, then get the doc id of the generated excel and pass it to a!documentDownloadLink() ?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/47721?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2017 08:52:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:084a841f-8e89-4850-ab97-c4032639a4f1</guid><dc:creator>Thenmozhi Mohanakrishnan</dc:creator><description>I am getting the 500 internal error when using getdatasubsetdownloadlinkfromprocess. When I monitor the instance, I could see that the data is not populating in exportData pv.&lt;br /&gt;
&lt;br /&gt;
datasubset=[startIndex=1, batchSize=-1, sort=[field=NOMINATION_ID, ascending=False], totalCount=0, data=, identifiers=], filename=Nomination Report]&lt;br /&gt;
&lt;br /&gt;
Log&lt;br /&gt;
&lt;br /&gt;
2017-08-18 08:12:01,018 [ajp-/0.0.0.0:8009-3] ERROR com.appiancorp.ap2.PortalResponse - Error: 500&lt;br /&gt;
2017-08-18 08:26:14,037 [ajp-/0.0.0.0:8009-3] ERROR com.appiancorp.ps.exceltools.servlet.ExportDataSubsetToExcelFromProcessServlet - Index: 0, Size: 0&lt;br /&gt;
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0&lt;br /&gt;
	at java.util.ArrayList.rangeCheck(ArrayList.java:653)&lt;br /&gt;
	at java.util.ArrayList.get(ArrayList.java:429)&lt;br /&gt;
	at com.appiancorp.plugins.typetransformer.AppianList.getObject(AppianList.java:67)&lt;br /&gt;
	at com.appiancorp.ps.exceltools.util.ExcelHelperUtils.fieldNameChecker(ExcelHelperUtils.java:208)&lt;br /&gt;
	at com.appiancorp.ps.exceltools.util.ExcelHelperUtils.convertDataToExcel(ExcelHelperUtils.java:152)&lt;br /&gt;
	at com.appiancorp.ps.exceltools.util.ExcelHelperUtils.convertDataToExcel(ExcelHelperUtils.java:105)&lt;br /&gt;
	at com.appiancorp.ps.exceltools.servlet.ExportDataSubsetToExcelFromProcessServlet.doGet(ExportDataSubsetToExcelFromProcessServlet.java:99)&lt;br /&gt;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)&lt;br /&gt;
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)&lt;br /&gt;
&lt;br /&gt;
Any suggestions would be helpful!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/41056?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:57:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30ce86db-1c5f-4708-9371-7a3e61d0d7e8</guid><dc:creator>sikhivahans</dc:creator><description>@pradeep Yes, the plugin works fine as long as its constraints are met, that is, completion of process within 60 seconds or minimal data set.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/41053?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:54:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:92a7a39d-bf54-41ef-9b81-850732a8b701</guid><dc:creator>pradeepd761</dc:creator><description>@sikhivahans: Sorry.. I meant, it is extracting data when I have less rows and not columns.(approx 1000 rows)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/41052?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:42:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7d098a75-1beb-4026-ae23-e27bcb19b277</guid><dc:creator>sikhivahans</dc:creator><description>@pradeepd May I please know if you are aware of the fact that the 'Download Databsubset' implementation should finish in 60 seconds?&lt;br /&gt;&lt;br /&gt;Also, may I please know why the query isn't being expected to run in batches? Afaik querying the huge datasets in a single shot isn't a great way to do things at least when we are in the process. This is because of various reasons such as preventing query rule from failing because of huge datasets, preventing an operation from engaging continuously for large durations and performance issues.&lt;br /&gt;&lt;br /&gt;At a high level, I opine that 'Download Datasubset' isn't a right choice for your use case and especially this plugin isn't good when the data sets to export are large.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/41051?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:33:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1aebb2d3-940d-4bd1-a9e9-bc3911ef9fdd</guid><dc:creator>pradeepd761</dc:creator><description>@sikhivahans: there are around 16 columns. Process is not failing as a whole. It is extracting data when I have less columns in another table.(approx 1000). I am getting error 500. It keeps on circling for 60 secs and then I get this error message. And requirement is in such was that we dont want in batches..we need entire data in single shot.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to fetch entire data using #getdatasubsetdownloadlinkfromprocess</title><link>https://community.appian.com/thread/41006?ContentTypeID=1</link><pubDate>Wed, 04 Jan 2017 16:19:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4f0ed2cd-0e53-45ee-b5d3-3a97eba5107f</guid><dc:creator>sikhivahans</dc:creator><description>@pradeepd A few questions for you as follows:&lt;br /&gt;1. How many columns are you trying to retrieve?&lt;br /&gt;2. What's the reason behind the failure in getting the data? Is the query entity unable to retrieve the data though you have given -1 as batchSize or is the process failing on the whole?&lt;br /&gt;&lt;br /&gt;From the configuration perspective, I don't think there is much to do and we have to align with the constraints laid by the plugin. And re 7000 rows, I opine that these kinds of data sets must be pulled in batches rather than pulling all at once and for this, you may want to go for looping in the process. Meanwhile, I would also suggest checking if the process completes in 60 seconds and if not, start looking at alternatives.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>