MNI vs Looping functions

Why looping functions are better than using MNI?

  Discussion posts and replies are publicly visible

Parents Reply
  • This is not strictly true. If you're using the 'Run one instance for each item in' option and referencing an array that contains 1000 or more items then Appian won't even start the MNI node, even if you've checked the ' Delete previously completed/cancelled instances' option. This is a change to the previous behaviour that using the option you reference would have circumnavigated the 1000 node instance limit. Here's the message the System Admins receive by email:

Children
  • I have also noticed (seen up to 20.3) that even with the "Delete previously completed/cancelled instances" checked, in a loop fashion, Appian will pause your process if any node attempts to execute 100,000 times.

    Of course we've only seen this in an incorrectly configured process where a loop was used to wait for a kill flag that never became set.  Doubt we would ever need to process over 100k nodes otherwise :)

    Problem:  A process model node has exceeded the node traversal limit.

    Details:  The number of nodes per process for "MNI" would exceed the limit of 100000.