Combine related-object filters with custom logic
Express the relationship rule you actually mean
When one object has two or more related-object filters, Related Object Filter Logic controls how CAB combines them. The custom option can mix parent and child relationships in one boolean expression.
Choose the combination mode
Section titled “Choose the combination mode”Open the filter editor for the object that owns the relationships, then use Related Object Filter Logic:
| Choice shown in CAB | Use it when |
|---|---|
| All Child Relationship Filter Conditions Are Met | Every child relationship must qualify. This is the default. |
| Any Child Relationship Filter Conditions Are Met | At least one child relationship must qualify. This choice appears when the object has child relationships. |
| Custom Combination of Related Filters | You need an explicit combination of related filters, including parent relationships. |
Write a custom expression
Section titled “Write a custom expression”- Choose Custom Combination of Related Filters.
- Under Custom Expression, use the number shown beside each related-object filter.
- Combine those numbers with
AND,OR, and parentheses—for example,(1 OR 2) AND 3. - Select Save when the expression is valid.
Every related-object filter must be referenced at least once. CAB disables Save and shows a validation message for an unknown number, a missing relationship, unbalanced parentheses, or invalid syntax. In the redesigned canvas, numbered badges and the expression at the junction help you trace the rule back to its branches.

