<?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>a!dataSubset()</title><link>https://community.appian.com/discussions/f/best-practices/18312/a-datasubset</link><description>Hi, 
 I a new to appian and i came accross the a!dataSubset.What is the working of datasubset. 
 a!dataSubset( startIndex: 3, batchSize: 2, sort: a!sortInfo( field: &amp;quot;name&amp;quot;, ascending: true() ), totalCount: 26, data: {&amp;quot;a&amp;quot;, &amp;quot;b&amp;quot;, &amp;quot;c&amp;quot;, &amp;quot;d&amp;quot;,&amp;quot;e&amp;quot;,&amp;quot;f&amp;quot;, &amp;quot;g&amp;quot;,&amp;quot;h</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: a!dataSubset()</title><link>https://community.appian.com/thread/72086?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 15:16:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1421f7db-b704-4351-808f-d44e4e4197ba</guid><dc:creator>Rama</dc:creator><description>&lt;p&gt;You are correct it has to be used with the&amp;nbsp;&lt;span&gt;todatasubset() for data manipulation like paginating&amp;nbsp;,sorting.&amp;nbsp;dataSubset&amp;nbsp; is just a data structure.Thank you once again.I tried it worked.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!dataSubset()</title><link>https://community.appian.com/thread/72085?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 14:22:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4de7fc4f-5202-4aeb-ba76-a58358210aef</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;a!dataSubset is used to create the datasubset data structure only. It will not manipulate your data in any way. If you want to sort/page data, you want to use todatasubset(). Check out to documentation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!dataSubset()</title><link>https://community.appian.com/thread/72084?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 14:15:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:558bdc81-6dd3-4594-b81d-a7ec8a8c0b60</guid><dc:creator>Rama</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.I have used in combination of the scenario that you have&amp;nbsp;mentioned.But i did not understand this example as per appian documentation.&lt;/p&gt;
&lt;p&gt;Its giving me different result which is not expected as per my understanding or underlaying logic could be different&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: a!dataSubset()</title><link>https://community.appian.com/thread/72075?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2020 07:41:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3671fe18-ccbb-47ff-9fa0-c6b44ff5f97d</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;A dataSubset is typically returned by the a!queryEntity containing the result set from database plus some meta data. There is other means of how to retrieve data from other systems which you will have contact with later on your Appian journey.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>