exit loop in iterator model

Discussion created by Thoober on Aug 29, 2013
I have a model that iterates a couple steps for all the rows in a table.  It works well and does exactly what I want it to do, however, the whole process takes a really long time to run. So I don't have to watch the model constantly, I attempted to set up an alarm of sorts by writing a python script that sends out an email to me.  However, I ended up basically spamming myself because it sends out an email every time it iterates.

Is there a way to put in logic that will run this script once after the iterator is finished?