Jump to content

Error setting table reference


rondonax
 Share

Recommended Posts

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.

ErrorMessage.gif.cdef04102ff1d3eccf43604a33c0aa9a.gif

How do I set the model to stop creating entities when the last row is created?

Thanks in advance!

SampleModel2.spfx

Edited by rondonax
Link to comment
Share on other sites

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). 

Error setting table reference.PNG

Link to comment
Share on other sites

×
×
  • Create New...