
NathanM.58693 (Customer) asked a question.
I'm trying to create a group based on job titles from a specific location.
Specifically, I want only people from Knoxville, then I only want people with one of 10 job titles, out of about 20.
I have created the query but its not working correctly.
This is the query I'm trying to run. I can pull in all of the job titles, but it won't restrict the results to people in that specific location. Any ideas?
user.title=="Salesperson"
or
user.title=="Technician, Body Shop"
or
user.title=="Warranty Writer"
and
user.Location=="Airstream of Knoxville"

Hi Nathan McKenzie ,
You can try this expression by using a bracket for the "Or" operation ,
( user.title=="Salesperson" or user.title=="Technician, Body Shop" or user.title=="Warranty Writer" )and user.Location=="Airstream of Knoxville"
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.