<?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>Contains() function Not Giving Results</title><link>https://community.appian.com/discussions/f/rules/29502/contains-function-not-giving-results</link><description>Hi 
 I have created a constant for storing all the valid file extensions 
 constant : OPP_TXT_VALID_FILE_EXTENSION -&amp;gt; { &amp;quot;PDF&amp;quot;, &amp;quot;JPEG&amp;quot;, &amp;quot;JPG&amp;quot;, &amp;quot;PNG&amp;quot;, &amp;quot;DOCX&amp;quot;, &amp;quot;DOC&amp;quot;, &amp;quot;XLSX&amp;quot;, &amp;quot;XLS&amp;quot;, &amp;quot;CSV&amp;quot;, &amp;quot;TXT&amp;quot; } 
 Now I wanted to implement a validation in fileUploadField</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116958?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:16:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7c4c529a-08ac-49a7-ac78-91b6d0c901b4</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;There was a trailing space&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116957?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:16:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5c696ba3-5d6d-494e-b6e8-6669c008cc7a</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;Just checked&lt;/p&gt;
&lt;p&gt;There was 1 trailing space for PNG &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f643.svg" title="Upside down"&gt;&amp;#x1f643;&lt;/span&gt;&lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f643.svg" title="Upside down"&gt;&amp;#x1f643;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116956?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:14:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ae42669a-5798-473e-b287-587787e6cf5d</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Did you check that there are no trailing spaces for each of your values?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116955?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:14:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e4efb50-4151-410e-b744-a6fdbb8ac74f</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1690546382111v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116954?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:13:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8d909265-8984-41a0-b881-6ef75364ce9d</guid><dc:creator>Harshmodi</dc:creator><description>&lt;p&gt;I think there could be a problem during the creation of a constant.&lt;/p&gt;
&lt;p&gt;To create a constant with multiple values (array), follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the array option.&lt;/li&gt;
&lt;li&gt;Provide the values in the following format (see the attached image for reference).&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/15/pastedimage1690546244514v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116953?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:11:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8cf6497a-2b1f-4b48-bda6-a8040bfd4fcf</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Can you show a screenshot?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116952?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:09:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:405d347d-dc64-4c2d-bcc5-a1e5eb1346d6</guid><dc:creator>GautamShenoy</dc:creator><description>&lt;p&gt;It does look like that &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f643.svg" title="Upside down"&gt;&amp;#x1f643;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Contains() function Not Giving Results</title><link>https://community.appian.com/thread/116949?ContentTypeID=1</link><pubDate>Fri, 28 Jul 2023 12:02:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7ca9d7be-fbd6-4c6a-a097-e167be6874fc</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;Your constant needs to look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1690545732243v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>