We are using FaaS to submit payments into Salesforce. In that setup process we found that our submissions were not being matched correctly. Therefore we added two custom fields to the matching criteria on C&P Settings > Contacts/Accounts.
1. First Name - added Nickname__c
2. Email - added npe01__HomeEmail__c
As soon as we added those two criteria we received this message for any new transaction.
When we remove the matching fields the error goes away. It appears that we need to set those custom fields as external IDs in order for this to work?
Is there any other solution for adding these matching fields (adding them in addition to the default matching fields)?
Thanks,
1. First Name - added Nickname__c
2. Email - added npe01__HomeEmail__c
As soon as we added those two criteria we received this message for any new transaction.
Non-selective query against large object type (more than 100000 rows). Consider an indexed filter or contact salesforce.com about custom indexing.
Even if a field is indexed a filter might still not be selective when:
1. The filter value includes null (for instance binding with a list that contains null)
2. Data skew exists whereby the number of matching rows is very large (for instance, filtering for a particular foreign key value that occurs many times)
Even if a field is indexed a filter might still not be selective when:
1. The filter value includes null (for instance binding with a list that contains null)
2. Data skew exists whereby the number of matching rows is very large (for instance, filtering for a particular foreign key value that occurs many times)
When we remove the matching fields the error goes away. It appears that we need to set those custom fields as external IDs in order for this to work?
Is there any other solution for adding these matching fields (adding them in addition to the default matching fields)?
Thanks,
Comment