Database

[{name:"document1",data:[{name:"xxxxx",status:"delivered"},{name:"xxxxx",status:"In Process"},{name:"xxxxx",status:"Not Started"}]},{name:"document2",data:[{name:"xxxxx",status:"delivered"},{name:"xxxxx",status:"delivered"},{name:"xxxxx",status:"delivered"}]}]

Query

db.collection.find({"data":{"$not":{"$elemMatch":{"status":{$ne:"delivered"}}}},"data.status":"delivered"})

Result