I'm very new to ModelBuilder and trying to build a tool which clips 4 national data sets to a study area defined as a local authority. There is a points dataset containing population data, local authority boundaries and flood extents. Ultimately the output I am after is a summary statistics showing the population within the flood extents for that study area. I've managed to get the first part working where the user selects a local authority from a drop down list and the data is clipped to this study area through a feature class iterator. This is a sub-model within my main model. I then want to perform separate geoprocessing on each of the clipped feature classes, and this is the part I can't get working. I need to work with the results of my sub-model, and produce summary statistics where the population points are within the flood extents. However I can't seem to select the feature class to work with from the output values of my sub-model. I've attached an image of my model for reference.
The issue here is that the Collects value tool returns a LIST of whatever you are collecting. If you read the Help file for the Select data tool it takes as input a data element, that is what the syntax table is explaining. You should always read the help file! So you are trying to connect a LIST object to something that is expecting a workspace. That is why your model is failing to connect. You need to get into the habitat of reading the syntax section of the help file this helps you understand what tools expect as input for their parameters and what they output.