<?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 vs Looping functions</title><link>https://community.appian.com/discussions/f/best-practices/21235/mni-vs-looping-functions</link><description>Why looping functions are better than using MNI?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82892?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 16:29:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9d33ce6a-f0c2-4733-9134-f568227285f4</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I have also noticed (seen up to 20.3) that even with the &amp;quot;Delete previously completed/cancelled instances&amp;quot; checked, in a loop fashion, Appian will pause your process if any node attempts to execute 100,000 times.&lt;/p&gt;
&lt;p&gt;Of course we&amp;#39;ve only seen this in an incorrectly configured process where a loop was used to wait for a kill flag that never became set.&amp;nbsp; Doubt we would ever need to process over 100k nodes otherwise :)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,sans-serif;font-size:10.0pt;"&gt;Problem:&lt;/span&gt;&lt;/b&gt;&lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,sans-serif;font-size:10.0pt;"&gt;&amp;nbsp; A process model node has exceeded the node traversal limit. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,sans-serif;font-size:10.0pt;"&gt;Details:&lt;/span&gt;&lt;/b&gt;&lt;span style="color:#333333;font-family:&amp;#39;Arial&amp;#39;,sans-serif;font-size:10.0pt;"&gt;&amp;nbsp; The number of nodes per process for &amp;quot;MNI&amp;quot; would exceed the limit of 100000. &lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82866?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 07:45:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c2223e02-2153-4ffc-bb10-b76e1c17c975</guid><dc:creator>Stewart Burchell</dc:creator><description>&lt;p&gt;This is not strictly true. If you&amp;#39;re using the &amp;#39;&lt;span&gt;Run one instance for each item in&amp;#39; option and referencing an array that contains 1000 or more items then Appian won&amp;#39;t even start the MNI node, even if you&amp;#39;ve checked the &amp;#39;&amp;nbsp;Delete previously completed/cancelled instances&amp;#39; option. This is a change to the previous behaviour that using the option you reference would have circumnavigated the 1000 node instance&amp;nbsp;limit. Here&amp;#39;s the message the System Admins receive by email:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/20/pastedimage1624434486934v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82863?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 06:02:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:30a719c2-e7b3-457d-b8ce-f06eb73ce1d7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;When I need to use MNI or looping in a process I make sure to check this box on the tab &amp;quot;Others&amp;quot;. This saves memory and gets around the limit of 1000 node instances.&lt;/p&gt;
&lt;p&gt;When this node is completed: delete previously completed/canceled instances&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/Process_Node_and_Smart_Service_Properties.html#execution-options"&gt;docs.appian.com/.../Process_Node_and_Smart_Service_Properties.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82862?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 03:33:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:493cf2c3-e25a-4f32-9349-f164916d3cde</guid><dc:creator>Ayushi Mittal</dc:creator><description>&lt;p&gt;Just to add we have limit while using MNI we can only execute particular node 1000 times only, while there is no limit for looping function.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82787?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2021 04:56:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60656217-0405-4f16-b4c6-fb473ea9fa91</guid><dc:creator>arpit0001</dc:creator><description>&lt;p&gt;Thanks Stefan.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82776?ContentTypeID=1</link><pubDate>Sun, 20 Jun 2021 18:34:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:13378311-b54c-4b5e-a3ba-b2e4e3363c72</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Hm ... key difference is that looping functions are just functions with a low execution overhead and memory footprint. MNI means to execute a node in a process multiple time which means that this node must go through the whole process execution mechanism. And this takes way more precious bytes and cpu cycles ;-)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82775?ContentTypeID=1</link><pubDate>Sun, 20 Jun 2021 18:10:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:46e32823-63a8-4576-b750-810078240268</guid><dc:creator>arpit0001</dc:creator><description>&lt;p&gt;Hi Stefan, Thanks for the answer but can you explain little bit more technically about it? because I am still in a learning phase in Appian and also if someone ask me this question in interview then how should I answer it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MNI vs Looping functions</title><link>https://community.appian.com/thread/82774?ContentTypeID=1</link><pubDate>Sun, 20 Jun 2021 18:00:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97a0ba99-1592-4d1c-b4b7-887733c9504a</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;System load is way lower and execution time much higher. Is this a general or a specific question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>