<?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>MNI parameters</title><link>https://community.appian.com/discussions/f/process/14691/mni-parameters</link><description>I&amp;#39;m trying to use MNI to start a process for each element in a list of MyCDT, using &amp;quot; Run one instance for each item in &amp;lt;the list&amp;gt;&amp;quot;. When specifying the input parameters to the child process, how do I retrieve the index of the item in the list, so I can</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/69149?ContentTypeID=1</link><pubDate>Sun, 01 Sep 2019 22:43:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de610d72-0f8f-4434-96cb-738a4a7621d8</guid><dc:creator>karthip0001</dc:creator><description>&lt;p&gt;Stewart, Not always.  Just today I am running into this issue where any time I do a concatenation of a field&amp;#39;s value on a record instance from the CDT array, for some reason it uses the entire array!&lt;/p&gt;
&lt;p&gt;&amp;quot;Record No. &amp;quot; &amp;amp; pv!cdtarray.record_no stores &amp;quot;Record No. 1, 2&amp;quot; into the output variable assuming the array has just 2 records.  When I removed  the concatenation, it displayed correctly Record No.1 and Record No.2 in the output.  I thought this was bizarre!&lt;/p&gt;
&lt;p&gt;And that&amp;#39;s exactly why I am here now looking for an alternative.  Going to try using instance index.  &lt;/p&gt;
&lt;p&gt;We are on 18.2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/65864?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 18:19:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:610c2dc2-827a-48bb-9946-60e40dcf2af4</guid><dc:creator>Brad J Horstkotte</dc:creator><description>&lt;p&gt;Interesting, I didn&amp;#39;t try that - or maybe I did but that was before I fixed my type casting problem, so the error message led me down another path.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/65854?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 15:55:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8365fcf6-17ef-47fd-9719-cd0b8490eaae</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Yes - and (frustratingly) exactly how this works is not very well documented.&amp;nbsp; Out of basic paranoia, I usually manually index the array being passed in anyway - somehow it also &amp;quot;knows&amp;quot; when this is done and passes in the manually-indexed entry, fortunately.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/65851?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2019 14:11:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:714dc54e-b5d3-4647-beed-0b1b0570d379</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;Interestingly when you call a sub-process as an MNI Appian seems to &amp;quot;know&amp;quot; to pass the relevant item from the array into the sub-process without you having to explicitly reference the item using tp!instanceIndex.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/65830?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:41:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1cb0262e-5f4b-4422-b797-bff12623952d</guid><dc:creator>Brad J Horstkotte</dc:creator><description>&lt;p&gt;Thanks very much for the speedy reply April, I&amp;#39;ll give that a try (so far so good, but have a cast problem now - but at least it&amp;#39;s the NEXT problem &lt;span class="emoticon" data-url="https://community.appian.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI parameters</title><link>https://community.appian.com/thread/65829?ContentTypeID=1</link><pubDate>Thu, 11 Apr 2019 14:30:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fbf63ee7-f93a-404a-8154-73b013f3f4e7</guid><dc:creator>April Schuppel</dc:creator><description>&lt;p&gt;Hi Brad,&lt;/p&gt;
&lt;p&gt;You can use&amp;nbsp;[tp!instanceIndex]&lt;/p&gt;
&lt;p&gt;Example:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PV is myList&lt;/p&gt;
&lt;p&gt;Input would be myList[tp!instanceIndex]&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>