Skip Navigation

Target or block users by advanced query

You can perform ad hoc targeting or blocking of users based on general attributes, organization hierarchies, geolocation, operator attributes, or device types.
  1. In the
    Target Users
    section, click
    By Advanced Query
    .
  2. 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.
  3. Click
    Add Condition
    .
  4. In the
    Select Attribute
    list, select the first attribute, organization hierarchy, geolocation, operator attribute, or device you want to use as targeting criteria.
  5. In the
    Select Operation
    field, select the operation that you want to assign to the attribute. To block users who have specific attributes, select a negative operation such as
    not equals
    or
    does not contain
    .
    The list of operations varies depending on the type of attribute selected.
  6. 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, 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.
  7. Optionally, click
    Add Condition
    and then repeat steps 3 through 6 for each additional condition you want to add.
    In order to be included in the target group, users must meet all conditions specified by the condition statements.
    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.
    You can target or block users based on the User Last Updated Source attribute. For more information, see Target or block users with the User Last Updated Source attribute.
  8. Optionally, click the number in the
    By Advanced Query
    field in the
    Targeting Summary
    to view a screen that displays the criteria that you created for the advanced query.
  9. Optionally, modify the query conditions as needed to isolate the exact user group that you want to send the alert to. Click
    Add Condition
    to add more conditions. Click Remove Condition button beside a condition to remove it.