<?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>How to exclude rows which has empty string in one field from a!queryentity result</title><link>https://community.appian.com/discussions/f/data/40258/how-to-exclude-rows-which-has-empty-string-in-one-field-from-a-queryentity-result</link><description>I have a table in DB. Which has column called x which is of varchar type(255). I am fetching records in Appian using a!queryentity function. I just want to exclude records which are having &amp;quot;&amp;quot; mapped for column x. I tried like below which are not working</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to exclude rows which has empty string in one field from a!queryentity result</title><link>https://community.appian.com/thread/153860?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 14:53:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c8917377-fa65-4df3-bfa2-9320081bd64e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;As a caution, if your DB has a mixture of &amp;quot;empty string&amp;quot; and &amp;quot;true null&amp;quot; values for this field, then you should use a LogicalExpression to filter against both conditions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to exclude rows which has empty string in one field from a!queryentity result</title><link>https://community.appian.com/thread/153859?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 14:53:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60358193-f19b-49a7-bf90-f5841b22c496</guid><dc:creator>Radhamani Ramasamy</dc:creator><description>&lt;p&gt;Thank you. The combination you mentioned worked. Also the below works.&lt;/p&gt;
&lt;p&gt;a!queryFilter(&lt;br /&gt; field: &amp;quot;x&amp;quot;,&lt;br /&gt; operator: &amp;quot;&amp;lt;&amp;gt;&amp;quot;,&lt;br /&gt; value: &amp;quot; &amp;quot;&lt;br /&gt; )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to exclude rows which has empty string in one field from a!queryentity result</title><link>https://community.appian.com/thread/153857?ContentTypeID=1</link><pubDate>Fri, 06 Mar 2026 14:49:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4675eb97-9142-461d-886c-ff79b1b70b01</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;The combination I typically find works is &amp;quot;not in&amp;quot; and {&amp;quot;&amp;quot;} (that is, an array of an empty string).&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s an example (but in reverse) --&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1772808765000v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>