<?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 get index of array type rule input</title><link>https://community.appian.com/discussions/f/data/37293/how-to-get-index-of-array-type-rule-input</link><description>Hi Experts, 
 
 I am using a grid layout and I have rule input of array type, I want to select data present at specific index in rule input, Please help me how can I get index of array type rule input? 
 
 Thanks in advance.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139625?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 08:48:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:94dc24a2-1b42-4bce-82cb-2f1d395c7766</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;Do you have any relationship between these two records ? That could help you extract the information you are looking for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;you can use displayvalue function.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/fnc_conversion_displayvalue.html"&gt;docs.appian.com/.../fnc_conversion_displayvalue.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139624?ContentTypeID=1</link><pubDate>Thu, 15 Aug 2024 08:05:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:dbb30931-238c-4d3f-ad8b-de4d52ac220b</guid><dc:creator>amriteshgupta</dc:creator><description>&lt;p&gt;Thank you all for your responses, I will try to elaborate what I am trying to achieve.&lt;/p&gt;
&lt;p&gt;I have a local variable which stores multiple item(stored in record A) with its quantity selected by user, on the next page I want to show inventory(stored in record B) with required quantity to build item stored in local variable, in order to do so I need to compare item name with data stored in record B, I am trying to create rule input of Local variable in different page and then compare it with record type B(I am using grid Layout).&lt;br /&gt;&lt;br /&gt;Please help me weather my approach is correct? if correct how should I compare it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139593?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 14:49:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de4ecf88-b62a-46dd-959f-bd1a651aa4c2</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="288033" url="~/discussions/f/data/37293/how-to-get-index-of-array-type-rule-input"]using a grid layout and I have rule input of array type, I want to select data present at specific index in rule input[/quote]
&lt;p&gt;Can you share a bit more detail about exactly what your input data is, and what you&amp;#39;re trying to achieve with it (and why)?&amp;nbsp; Your question as-is is a bit vague and leaves a lot of room for interpretation or false starts.&amp;nbsp; Simply getting an arbitrary position in an array is super simple, i.e. &amp;quot;ri!array[2]&amp;quot; or &amp;quot;index(ri!array, 2, null())&amp;quot; if there&amp;#39;s a possibility that ri!array might not have a [2], however it seems like you&amp;#39;re getting at something more specific / more complex, and it&amp;#39;s impossible to tell with the info given.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139590?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 14:04:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:aef134f4-3c22-4153-93e7-6f401ead70db</guid><dc:creator>Kumar Agniwesh</dc:creator><description>&lt;p&gt;have you tried Index function example&amp;nbsp;&lt;/p&gt;
&lt;p&gt;index(ri!arrayType,n,null) where n is the position of the value in array&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139576?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 11:18:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1a9b5331-c94a-4b61-b146-706a056a3664</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/recipe-track-adds-and-deletes-in-an-inline-editable-grid.html"&gt;docs.appian.com/.../recipe-track-adds-and-deletes-in-an-inline-editable-grid.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/recipe-track-adds-and-deletes-in-an-inline-editable-grid.html"&gt;https://docs.appian.com/suite/help/24.2/Editable_Grid_Component.html#using-images-in-editable-grids&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get index of array type rule input</title><link>https://community.appian.com/thread/139574?ContentTypeID=1</link><pubDate>Wed, 14 Aug 2024 10:57:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:09eb3996-5010-4555-87ea-c3c0ed0091fa</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.2/parts-of-an-expression.html#arrays"&gt;https://docs.appian.com/suite/help/24.2/parts-of-an-expression.html#arrays&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>