I need to make a record-like query for a 1 to N relationship, in which it only returns the values of the parent record if all the values in the N relationship meet a condition. Example :
I have a record called "Need" and it is related to another called "needchangestate" through a relationship 1 to N, I need it to return only the needs where all the needchangestate meet a condition, if all the elements of the relationship N do not meet the condition, the element Need should not appear
Currently it returns me an investment where the condition is met in at least one of the records of the relationship N but this is not what I am looking for.
Discussion posts and replies are publicly visible
Thank you all for the answers, we are testing to see what is the best option, I am surprised that Appian does not have a simple way to get values of the 1 to N ratio that meet the specific conditions. I think a is a very typical case that wanting to retrieve records only if the relationship N all records meet a condition. For example: Give me all the investments that have all the approved amounts