I think you have too many X's in your question to really understand exactly what you want to schedule. A example might help.
So I'll just answer in general.
You can use a expression (property) to filter out zones based on some criteria - whether true/false or some returned string. Zone properties include the number of items contained within-- as in objects, windows/doors, walls etc. So you could do a criteria based on the number of objects within.
There is noway, that I know, to get the ID of those contained objects. However, I believe, that could be done using Python to create a object list using the command "GetElementsRelatedToZones" , then Adding that list to a property of that zone. That would involve a separate step of having to first execute the script to update. If I am correct, you will, however, have to wait until the release of 24.
Windows 10 - Visual Studio 2019; ArchiCAD 26