<?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>Hi All, I&amp;#39;m trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/discussions/f/general/4006/hi-all-i-m-trying-to-use-a-query-entity-and-configured-some-basic-field-wh</link><description>Hi All, I&amp;#39;m trying to use a Query Entity and Configured some basic field, While I try to execute the attached code I&amp;#39;m being alerted with &amp;quot;Interface Definition: Expression evaluation error [line 21]: Invalid index: Cannot index property &amp;#39;TrialName&amp;#39; of</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14097?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 15:02:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5f793218-0612-4302-978c-a4b9f349a5aa</guid><dc:creator>radhaa</dc:creator><description>query entity returns data means TrailName. it is a text value not a sail component. so that&amp;#39;s the reason you get that error. use SAIl components to show the query entity results such as grid field, tempo reports and etc., in your case you are retrieving single column,  so place that data in local variable and show it in text field component.&lt;br /&gt;See these links &lt;a href="https://forum.appian.com/suite/help/7.8/Grid_Tutorial.html,"&gt;forum.appian.com/.../Grid_Tutorial.html,&lt;/a&gt;&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/help/7.8/Query_Recipes.html"&gt;forum.appian.com/.../Query_Recipes.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14096?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 14:53:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09f74ec6-dc7c-4eb1-a1c6-46cbd2d51a9a</guid><dc:creator>deepanc712</dc:creator><description>Interface Definition: Not a valid component. Am getting this error before the result.. Any Idea&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14095?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 13:58:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35bfe89c-f164-4ebc-83be-643f6d6176de</guid><dc:creator>deepanc712</dc:creator><description>Yes, It was..&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14094?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 13:55:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fcafe7a3-a03c-4d08-95a6-8c59fbdd835b</guid><dc:creator>radhaa</dc:creator><description>deepanc, please see the attached code once, is that second error is arises due to wrong sail code of query column embedded in column layout. I guess this is the only choice to get that error. Please confirm this&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/Query_5F00_Mistakes.txt"&gt;Query_Mistakes.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14093?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 13:50:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dc7f95d6-20b9-44d9-b58e-cba2f016e740</guid><dc:creator>deepanc712</dc:creator><description>Changed the function to IsNull and this works !!! Thanks Radhaa&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14092?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 13:35:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2ce38d0e-a574-474b-999d-4bcda26a0a46</guid><dc:creator>radhaa</dc:creator><description>deepanc, &amp;quot;invalid index: Cannot index property &amp;#39;TrialName&amp;#39; of type Text into type List of Variant&amp;quot;, this error arises because of there is no data retrieved for that query. if you can see the data structure of the query entity without tagging data.Trail_Name in bottom of the expression, you can see empty result in data column.&lt;br /&gt;so please check null handling before referencing CDT columns with &amp;quot;.&amp;quot; &lt;br /&gt;And I will look into the error you mentioned in comments.  &lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/Correction.txt"&gt;Correction.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14091?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 13:15:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1de255fe-0ffe-4b84-94aa-0906e62ceae1</guid><dc:creator>deepanc712</dc:creator><description>Am currently not using this in any expression rules, &lt;br /&gt;&lt;br /&gt;Tried to add index but getting the following alert. can you please look into it.&lt;br /&gt;Interface Definition: Expression evaluation error at function &amp;#39;type!{&lt;a&gt;www.appian.com/.../2009}ColumnLayout&amp;#39;&lt;/a&gt; [line 21]: An array of components may only contain components.  Received Text at index 1.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi All, I'm trying to use a Query Entity and Configured some basic field, Wh</title><link>https://community.appian.com/thread/14089?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2015 12:20:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f6cf5806-3476-41c4-8b85-13a1173ef0a9</guid><dc:creator>radhaa</dc:creator><description>Hi deepanc, I didn&amp;#39;t find any flaws or mistakes in your code. but please confirm, are you using outcome of this query entity in any other expression rule?&lt;br /&gt;If one is there, please provide that rule. Please try index function rather than data.TrailName[1] like attached code.&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/0211.query.txt"&gt;query.txt&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>