Rule Operators: OR, AND, AND NOT

This overview describes the logic of how Salesforce Audience Studio processes rules combined with OR, AND and AND NOT, with or without rule groups.

1. Segment without a Rule Group

If you create a segment which looks like the following:

The above rules are processed as follows: (Rule1 OR Rule2 OR Rule4) AND (Rule3)

Segment without a Rule Group using "AND NOT"

If you create a segment which looks like the following:

The above rules processes as follows: (Rule 1 or Rule 2 or Rule 4) AND NOT Rule 3

2. Segment with a Rule Group using "OR"

If you create a segment which looks like the following:

The above rules are processed as follows: (Rule1 OR Rule2) OR (Rule3 AND Rule4)

3. Segment with a Rule Group using "AND"

If you create a segment which looks like the following:

The above rules are processed as follows: (Rule1 OR Rule2) AND (Rule3 AND Rule4)

4. Segment with Rule Groups using "OR" and "AND"

If you create a segment which looks like the following:

The above rules are processed as follows: ((Rule1 OR Rule2) OR (Rule3 AND Rule4) OR (Rule7 OR Rule8)) AND (Rule5 OR Rule6)

 

 

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.