Target users by advanced query
You can target users based on general attributes, organization hierarchies, geolocation, device, or operator attributes.
- In theTarget Userssection, clickBy Advanced Query.If you have added a location in the Content section, theAll geolocations inside map selection(s) plus Last Known Location update optionis selected by default.
- Select the AND/OR operator. When AND is selected, users must meet all conditions to be targeted in the alert. When OR is selected, users that match any of the search conditions are targeted. The default is AND.
- ClickAdd Condition.
- In theSelect Attributelist, select the first attribute, organization hierarchy, geolocation, operator attribute, or device you want to use as targeting criteria.
- In theSelect Operationfield, select the operation that you want to assign to the attribute. To block users who have specific attributes, select a negative operation such asnot equalsordoes not contain.The list of operations varies depending on the type of attribute selected.
- If the operation you selected in Step 5 requires additional query values, a third field appears. Enter or select a value for the attribute.For multi-select picklist, single-select picklist, geo-aware Multi-select picklist, and status type attributes, enter characters in the search box to filter the list of attribute values. You can enter characters that appear anywhere in the attribute value.
- Optionally, clickAdd Conditionand then repeat steps 3 through 6 for each additional condition you want to add.The Targeting Summary field at the bottom of the Target Users section updates automatically to display the total number of users who match the query conditions you have created.
- Optionally, click the number in theBy Advanced Queryfield in theTargeting Summarysection to view the advanced query criteria.
- Optionally, modify the query conditions as needed to isolate the exact user group that you want to send the alert to. ClickAdd Conditionto add more conditions. Click beside a condition to remove it.