Limiting query results by using email qualifications
You can limit the entries that a query returns by using the Qualification label. The syntax of the value given to the qualification is the same as what is used in the Advanced Search Bar in the . As a result, any search that executes in the Advanced Search Bar in the will also work with the Qualification label.
To include qualifications in an incoming email message
- Create an email.
To execute a query that returns all tickets that Francie Frontline submitted, include the Qualification label with the following query value in your email message to the :
Schema: HD Incident
Server: polycarp
Login: Francie Frontline
Password: <userPassword>
Action: Query
Qualification: 'Submitter' = "Francie Frontline"In the qualification, the Submitter field name must be the same as the database name of the field. Also, field names are case sensitive, and must exactly match the database name of the field.
You can also query entries by using field IDs instead of the database name of the field. For example, the following Qualification label will produce the same results when the Submitter field has a field ID of 2.
Qualification: '2' = "Francie Frontline"In your qualification, you can include relational operators. The following qualification retrieves an entry whose employee ID is 9 and that was submitted by Francie Frontline.
Qualification: 'Employee_Id' = 9 AND 'Submitter' = "Francie Frontline"