Skip to main content

My question is about filtering parent records on the DLRS. The Relationship Criteria field has a help text saying it the SOQL WHERE clause for the child object. In the summary logs, I get an error for the records types on which I don't have the DLRS Aggregate Result field. How can I use the SOQL WEHRE on the child object to filter for the parent object record types? 

Thank you.

답변 5개
  1. 2022년 5월 19일 오후 10:46

    The specific syntax would be (where Parent is the API name of the relationship field)

     

    Parent__r.RecordType.Name = 'Name of RecordType'

     

    If you're filtering multiple values:

0/9000