<?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/"><channel><title>KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity</link><pubDate>Tue, 08 Nov 2022 23:43:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6971c355-d096-457d-99cb-b023b6703415</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity#comments</comments><description>Current Revision posted to Appian Knowledge Base by Maggie Deppe-Walker on 11/8/2022 11:43:09 PM&lt;br /&gt;
&lt;table style="background-color:#bcedaf;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;This issue has been resolved in a new Appian version. Please upgrade to the latest version of Appian.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;a!queryEntity&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;without a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sortInfo&lt;/code&gt;&amp;nbsp;parameter specified, a seemingly arbitrary sort order is applied to the data. Specifically, the following behaviors are seen:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If no&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the last column of the CDT representing the table.&lt;/li&gt;
&lt;li&gt;If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the first&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!queryColumn&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;value specified in the definition.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As a result of this, performance issues may be observed if the query returns a lot of data or is sorting by a text column.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been resolved via &lt;strong&gt;AN-128642&lt;/strong&gt; in Appian 22.3 GA.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Upgrade to Appian 22.3.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Sorting by the primary key is typically the most efficient sort order. Thus, a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sort&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter referencing the primary key should be set for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;pagingInfo&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;queryEntity&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 22.2 and earlier.&lt;/p&gt;
&lt;p&gt;Last Reviewed: November 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: known issues, application server, fixed issues, queryEntity&lt;/div&gt;
</description></item><item><title>KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity/revision/4</link><pubDate>Tue, 08 Nov 2022 23:42:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6971c355-d096-457d-99cb-b023b6703415</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Maggie Deppe-Walker on 11/8/2022 11:42:33 PM&lt;br /&gt;
&lt;table style="background-color:#bcedaf;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;This issue has been resolved in a new Appian version. Please upgrade to the latest version of Appian.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;a!queryEntity&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;without a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sortInfo&lt;/code&gt;&amp;nbsp;parameter specified, a seemingly arbitrary sort order is applied to the data. Specifically, the following behaviors are seen:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If no&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the last column of the CDT representing the table.&lt;/li&gt;
&lt;li&gt;If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the first&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!queryColumn&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;value specified in the definition.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As a result of this, performance issues may be observed if the query returns a lot of data or is sorting by a text column.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been resolved via &lt;strong&gt;AN-128642&lt;/strong&gt; in Appian 22.3 GA.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Upgrade to Appian 22.3.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Sorting by the primary key is typically the most efficient sort order. Thus, a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sort&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter referencing the primary key should be set for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;pagingInfo&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;queryEntity&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 22.2 and earlier.&lt;/p&gt;
&lt;p&gt;Last Reviewed: November 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, queryEntity&lt;/div&gt;
</description></item><item><title>[DRAFT SP 7999] KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity/revision/3</link><pubDate>Mon, 07 Nov 2022 14:24:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6971c355-d096-457d-99cb-b023b6703415</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Daniel DeVeau on 11/7/2022 2:24:24 PM&lt;br /&gt;
&lt;table style="background-color:#bcedaf;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;This issue has been resolved in a new Appian version. Please upgrade to the latest version of Appian.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;a!queryEntity&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;without a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sortInfo&lt;/code&gt;&amp;nbsp;parameter specified, a seemingly arbitrary sort order is applied to the data. Specifically, the following behaviors are seen:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If no&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the last column of the CDT representing the table.&lt;/li&gt;
&lt;li&gt;If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the first&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!queryColumn&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;value specified in the definition.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As a result of this, performance issues may be observed if the query returns a lot of data or is sorting by a text column.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been resolved via &lt;strong&gt;AN-128642&lt;/strong&gt; in Appian 22.3 GA.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Upgrade to Appian 22.3.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Sorting by the primary key is typically the most efficient sort order. Thus, a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sort&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter referencing the primary key should be set for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;pagingInfo&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;queryEntity&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to Appian 22.2 and earlier.&lt;/p&gt;
&lt;p&gt;Last Reviewed: November 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, queryEntity&lt;/div&gt;
</description></item><item><title>[DRAFT SP 7999] KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity/revision/2</link><pubDate>Mon, 07 Nov 2022 14:23:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6971c355-d096-457d-99cb-b023b6703415</guid><dc:creator>Daniel DeVeau</dc:creator><comments>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Daniel DeVeau on 11/7/2022 2:23:32 PM&lt;br /&gt;
&lt;table style="background-color:#bcedaf;"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;This issue has been resolved in a new Appian version. Please upgrade to the latest version of Appian.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;a!queryEntity&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;without a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sortInfo&lt;/code&gt;&amp;nbsp;parameter specified, a seemingly arbitrary sort order is applied to the data. Specifically, the following behaviors are seen:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If no&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the last column of the CDT representing the table.&lt;/li&gt;
&lt;li&gt;If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the first&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!queryColumn&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;value specified in the definition.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As a result of this, performance issues may be observed if the query returns a lot of data or is sorting by a text column.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been resolved via &lt;strong&gt;AN-128642&lt;/strong&gt; in Appian 22.3 GA.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Upgrade to Appian 22.3.&lt;/p&gt;
&lt;h2&gt;Workaround&lt;/h2&gt;
&lt;p&gt;Sorting by the primary key is typically the most efficient sort order. Thus, a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sort&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter referencing the primary key should be set for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;pagingInfo&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;queryEntity&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: November 2022&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: application server, queryEntity&lt;/div&gt;
</description></item><item><title>[DRAFT SP 7999] KB-1945 Unexpected sort ordering when using a!queryEntity</title><link>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity/revision/1</link><pubDate>Mon, 07 Nov 2022 00:43:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6971c355-d096-457d-99cb-b023b6703415</guid><dc:creator>Maggie Deppe-Walker</dc:creator><comments>https://community.appian.com/support/w/kb/2927/kb-1945-unexpected-sort-ordering-when-using-a-queryentity#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Maggie Deppe-Walker on 11/7/2022 12:43:11 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;When using&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;a!queryEntity&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;without a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sortInfo&lt;/code&gt;&amp;nbsp;parameter specified, a seemingly arbitrary sort order is applied to the data. Specifically, the following behaviors are seen:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;If no&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the last column of the CDT representing the table.&lt;/li&gt;
&lt;li&gt;If a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!querySelection&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;is present, the result set is sorted on the first&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;a!queryColumn&lt;/tt&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;value specified in the definition.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;As a result of this, performance issues may be observed if the query returns a lot of data or is sorting by a text column.&lt;/p&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128642&lt;/strong&gt;.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;p&gt;Sorting by the primary key is typically the most efficient sort order. Thus, a&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;sort&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter referencing the primary key should be set for the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;pagingInfo&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;used by the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;queryEntity&lt;/code&gt;.&lt;/p&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;This article applies to all versions of Appian.&lt;/p&gt;
&lt;p&gt;Last Reviewed: May 2019&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>