Field can not be filtered in a query call Salesforce

Field can not be filtered in a query call Salesforce

For “Field can not be filtered in a query call” Exception in Salesforce, check the following:

1. Check whether it is Text(Encrypted) field since it cannot be used.

Encrypted fields that use the probabilistic encryption scheme can’t be used with the following SOQL and SOSL clauses and functions:
Aggregate functions such as MAX(), MIN(), and COUNT_DISTINCT()
WHERE clause
GROUP BY clause
ORDER BY clause

2. You can’t filter by text area fields in SOQL.

3. Check whether field has Filter Property.

Example Exception: ‘Application’ can not be filtered in a query call

 
 
 
 
 

 

Leave a Reply