ID
refId
Title
Status
1
10
Test1
Approved
2
Test2
In-Review
3
Test3
4
Test4
How to write query filter to fetch refId=10 when status all rows should be Approved
Discussion posts and replies are publicly visible
Personally, the easiest way to do this if you are using Records would be to do a aggregate related record (custom record field) on the parent record where you count all the records <> approved. You then make a query that filters on the ref ids that have 0 "unapproved" records.