In the ModelBuilder of ArcGIS Pro 2.8.1, using Iterate Layers, I want to iterate over features that are in a group layer. It seems like I should be able to identify this group layer by using a Wildcard, which the user will provide as a parameter. I am then passing these layers as the input to the rest of the model. The issue is when I choose Layer Type as Group Layer (within the Iterate Layer options), I later get the error 000840 (The value is not a Feature Layer), when I try to pass the Output Layer to the next tool, which is Feature Class to Feature Class. It does not accept Group Layers as an input.
My goal is to iterate through all layers(which are feature services) in a group layer, export them to a gbd, then export them as shapefile to a folder. The purpose is creating backups of field data that can then be edited in ArcGIS Pro project. I am going with this Group Layer Approach since the ArcGIS Pro project template has a group layer "Field Data". Field staff will drag in the appropriate layers that need backed up by this Model.
The model as pictured runs when Iterate Features is set to Feature Layers, but not Group Layers.
So how do I just iterate through all the layers within the desired Group Layer?