I am using ModelBuilder to iterate Closest Facility analysis for every building at an archaeological site (OD Cost Matrix is not what I need--I need the geometry output, not just a cost matrix table). My draft model is below. One question: at the end of the model, it takes the routes generated from the Closest Facility analysis and copies it to a new feature class. However, the Copy Features tool seems to require a specific name for the output. When I iterate to the next facility, it will either overwrite or break the model.
So the question is simple: how do I configure Copy Features tool to output the name from the corresponding iteration (taken form the ObjectID field from the Iterate Feature Selection)?