<?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>converting</title><link>https://community.appian.com/discussions/f/general/22339/converting</link><description>Hi, using local variable, i am calling expression rule, which gives category codes as output, now i neeed to convert this local!updatecategorycodes into array form to use contains() function. 
 can anyone please help me 
 local!updateCategoryCodes:index</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: converting</title><link>https://community.appian.com/thread/142194?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2024 03:20:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99d319c4-eddb-4445-9d4e-577a5da998ba</guid><dc:creator>Karumuru Abhishek</dc:creator><description>&lt;p&gt;hi&amp;nbsp;&lt;a href="/members/gailp042440"&gt;gailp042440&lt;/a&gt;&amp;nbsp;could&amp;nbsp; you raise a new thread and post more details on your issue please&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/142188?ContentTypeID=1</link><pubDate>Sun, 27 Oct 2024 15:40:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:18920c81-0cd2-40a5-9e56-2f10f3a5442e</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;We need more details and context.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/142187?ContentTypeID=1</link><pubDate>Sun, 27 Oct 2024 15:23:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:45f126ae-abcc-492b-9bd3-4c430e20d33c</guid><dc:creator>gailp042440</dc:creator><description>&lt;p&gt;I was also looking for a solution to this problem, but I haven&amp;#39;t found it yet &lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://ragdollhitgame.com"&gt;ragdoll hit&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/108585?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 04:11:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a4612157-f4ad-45fe-a870-c6dbed3eb212</guid><dc:creator>Abhay Dalsaniya</dc:creator><description>&lt;p&gt;index() will already give you a array of items, did you try the contains() function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/108584?ContentTypeID=1</link><pubDate>Tue, 28 Feb 2023 03:05:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8b9dc20c-a3d2-43df-91e4-d2e832b07910</guid><dc:creator>helen23d8854</dc:creator><description>&lt;p&gt;yes, I completely agree with you, this is a very good and useful article for me.&lt;span style="color:#ffffff;"&gt;&amp;nbsp;&lt;a style="color:#ffffff;" href="https://backroomsgame.co"&gt;backrooms game&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/106602?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 04:07:52 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:231034ef-78e6-4bfc-9e6c-4108341c56f7</guid><dc:creator>mathewa4343</dc:creator><description>&lt;p&gt;I still can&amp;#39;t find the most appropriate solution to this problem &lt;span style="color:#ffffff;"&gt;&lt;a style="color:#ffffff;" href="https://wordhurdle.co"&gt;word hurdle&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/87393?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:53:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0b012a00-6e60-4287-bfe9-3fc96ff66519</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Just realized that you may be facing the issue that the index() is returning a List of Variant, and that you may be attempting to reference an item as a string in your contains() function. If so, you need to make sure that both data types are equivalent i.e. turn you List of Variant into a List of Text String by using fn!touniformstring()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/87392?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:51:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f1ff25f0-d5d1-45cd-ad56-9abb48f78aec</guid><dc:creator>ajhick</dc:creator><description>&lt;p&gt;I think we&amp;#39;ll need a tad more information. We can&amp;#39;t see what&amp;#39;s in your&amp;nbsp;&lt;span&gt;rule!CNAM_qeGetUpdateCategoryCodes() but it appears to be a query. I&amp;#39;ll have a go but it may be well of the mark as more detail is needed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I wanted to know if a query code existed I wouldn&amp;#39;t call the query, index to &amp;quot;CATEGORY_CODE&amp;quot; then check with a contains I would instead input the category codes I was looking for into the query (via a!queryFilter()) and check if anything is returned.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If I&amp;#39;m off the mark, please give more details.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: converting</title><link>https://community.appian.com/thread/87391?ContentTypeID=1</link><pubDate>Thu, 28 Oct 2021 11:46:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ed622f3f-5d46-4e14-8bfb-c7ff3ca1548c</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure I understand the problem. Assuming the result of rule!&lt;span&gt;CNAM_qeGetUpdateCategoryCodes() is a list of items, then index() WILL return an array to&amp;nbsp;local!updateCategoryCodes, even if the list only has one item in it,.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>