<?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 desired results</title><link>https://community.appian.com/discussions/f/rules/34156/contains-function-not-giving-desired-results</link><description>We are trying to compare to one intake value with data that is coming from another system. Both these values are present in pv and we are using contains function inside a script task to check the same. But even though the value is present in array, its</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130162?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 10:47:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:23044ce4-c4e3-4081-93cc-b607e421bc80</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;We used split function and touniform string to solve the issue.&amp;nbsp;&lt;br /&gt;Thanks for the input&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130094?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 15:07:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6b5f567e-3f15-4356-ab41-3ba0d139ec24</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Works for me&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/15/pastedimage1708960019195v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You must be doing something different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130093?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 14:53:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:36dc5dad-798f-4c60-bb51-a6c497fc3d9c</guid><dc:creator>nasirs4970</dc:creator><description>&lt;p&gt;please try to wrap the array text with the Uniform String function and if it&amp;#39;s not resolved please share your code&amp;nbsp; with PVs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130092?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 14:43:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:398e4988-5dfb-4a59-87b9-07ba4108dee4</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;&lt;br /&gt;since each value is getting appended to the list, I don&amp;#39;t think its of single text since the value 08 will come in the 1st iteration and 13 will coming only in the 2nd iteration and so on.&amp;nbsp;&amp;nbsp;&lt;br /&gt;The target value is of multiple type. Hope this gives more idea&lt;br /&gt;&lt;br /&gt;The same we are doing for some other variables in the same way. Its working fine for other variables.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130091?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 14:33:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:77120530-67e4-4a18-b872-fc95b3e21d8e</guid><dc:creator>EREN_YEAGER</dc:creator><description>&lt;p&gt;single text means - &amp;quot;08; 13&amp;quot;&lt;br /&gt;or&lt;br /&gt;array means {&amp;quot;08&amp;quot;,&amp;quot;13&amp;quot;}&lt;br /&gt;&lt;br /&gt;please confirm this, and share your code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130089?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 14:20:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbdaf270-814d-4cab-b626-85ded8d220ae</guid><dc:creator>sarathkumar13</dc:creator><description>&lt;p&gt;What do you mean by single text?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The array value is being generated using looping and we are using appended to list to store the value in pv. That pv is being passed to parent process model where we are doing this comparison.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: contains function not giving desired results</title><link>https://community.appian.com/thread/130088?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 14:18:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:909c984f-82f3-435b-b86b-e83856c072ea</guid><dc:creator>nasirs4970</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;can you please confirm that the array value is not in a single text?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>