<?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>Query on encrypted data field</title><link>https://community.appian.com/discussions/f/data/17396/query-on-encrypted-data-field</link><description>Hi there, 
 If a field of CDT is declared as EncryptedText, is it possible to perform query with that field (unencrypted text) as a filtering condition?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Query on encrypted data field</title><link>https://community.appian.com/thread/68505?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 14:50:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a45d216c-c82c-4db5-8038-25ca8181b23e</guid><dc:creator>ChristineLHutchison</dc:creator><description>&lt;p&gt;To add on... keep in mind if you are running a query and there is an error, the data will possibly show in the log (defeating purpose of encryption), under certain circumstances. So, I would press you to think through all the places and ways the data could be exposed (unintentionally).&lt;/p&gt;
&lt;p&gt;Hope that gives you something to think about.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Query on encrypted data field</title><link>https://community.appian.com/thread/68503?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 13:55:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f194bbe6-e5de-46d5-9b55-ae7c2e434673</guid><dc:creator>Steven Miccile</dc:creator><description>&lt;p&gt;The value is encrypted in the database and &lt;span&gt;is only decrypted when displayed as the value in an EncryptedTextField or within a plug-in using the&amp;nbsp;&lt;/span&gt;&lt;code class="highlighter-rouge"&gt;EncryptionService&lt;/code&gt;&lt;span&gt;&amp;nbsp;public API. Therefore, this does not seem possible from queryEntity, nor would you want&amp;nbsp;to allow this functionality from a security perspective if the data is sensitive since people could go fishing for values.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>