Failing to delete intermediate data from model

712
3
11-13-2012 05:26 AM
AntonDriesmans
New Contributor
I'm creating a model, in which some shapefiles are copied/renamed to a temp folder.  I checked the list of values option, in order to convert more than one shapefile in a multiple fgdb later on.  I also checked the intermediate option in list of copied shapefiles.  Now only the first copied shapefile from the list, is deleted after running the model.  How can the other shapefiles be deleted ?
0 Kudos
3 Replies
JimHall
New Contributor III
I have had trouble with intermediate data in models as well.  I have found it best to track the data creation and specifically delete data at the end.
0 Kudos
AntonDriesmans
New Contributor
Well at least I'm not alone.
I guess I'm gonna have to fix it that way. Thx for your reply anyway, jehall
0 Kudos
curtvprice
MVP Esteemed Contributor
Well at least I'm not alone.
I guess I'm gonna have to fix it that way. Thx for your reply anyway, jehall


In my experience, the most common reason intermediate datasets are not deleted by ModelBuilder are active joins, and issues with iteration.

Feel free to post a model that is failing to delete intermediate data and I'm sure someone can help you figure out what's up.
0 Kudos