Comment on page
How to Use the "Is In" Operator
Check if the value of a field is contained in a list of values
This operator works best on pick-list and text type fields.
To get started, create a list of values you want to check for in your desired field. For example, if you want to see if the Accounts's Billing Country is in North America for an account distribution, you could set up criteria using the "Is In" operator as below:
BillingCountryas the Account Field
- 2.Select the
- 3.Enter each country name separated by a comma
Using the "Is In" operator to match a list of country names
This operator can also be used to be sure that a field on the account does not equal a set of values by adding custom logic.
For example, you might want to go a step further from the example above and make sure that accounts are in North America and the account source is not "Partner" or "Event."
The steps to accomplish this are as follows:
AccountSourcein the Account Field
- 2.Select the
- 3.Enter "Partner" and "Event" separated by a comma (e.g.
- 4.Add custom Logic by clicking the dropdown under "Distribution Criteria" and select "Custom Condition Logic Is Met".
- 5.Enter logic so that Condition 1 is met and Condition 2 is not met:
1 AND NOT(2)
Now you have 2 Conditions:
- Condition 1 looks to see if the
United States, Canada, or Mexico
- Condition 2 looks to see if the
By adding custom logic, you have created criteria where
Billing Countrymust be
United States, Canada, or MexicoAND
Account Sourcemust NOT be either