rondonax Posted February 14, 2019 Share Posted February 14, 2019 (edited) In my model, entities are created representing each row in a data table at the source. At creating, the entities are assign to a row in the data table. The entities are created and assigned the right data until the last row of the table is created and then I get this message "Error setting table reference" and the simulation stops. How do I set the model to stop creating entities when the last row is created? Thanks in advance! SampleModel2.spfx Edited February 14, 2019 by rondonax Link to comment Share on other sites More sharing options...
jzhou Posted February 15, 2019 Share Posted February 15, 2019 Link to comment Share on other sites More sharing options...
gocken Posted February 18, 2019 Share Posted February 18, 2019 Jeff's solution is elegant and enough. Still, I liked the way you handled the problem via processes. You need not to define Stopcreatingentities event to fire. I revised your logic and attached its revised form as a png file (can not saved my changes due to having a different version of simio). Link to comment Share on other sites More sharing options...
Recommended Posts