Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

How to field_filter_validation_exception?

Asked by Chris Dyer Sep 4, 2023 1.2K views 2 answers
Share

About this question

 I have created a Multi Select picklist field on Account(Service Partner Type). I wanted to add criteria that would filter by "Service Partner Type" includes/contains "Certified Implementation Partner (CIP)," but since it is a multi-select picklist value, I couldn’t.

Then, I added a checkbox to the account and used WFR so that it becomes true when Service Partner Type= 'Certified Implementation Partner (CIP).' The checkbox field is added as a lookup filter criteria.

When the Service Partner Type field on the account is filled up with a value, the Service Partner Type field on the Project is also filled with the same value. If I want to populate a multi-select picklist field values onto another multi-select picklist field) Then, I use Apex.

When I edit an Account, I get the below error:

Why am I getting this field_filter_validation_exception error?

Your answer

2 Answers

Andreeone23 Latest answer

Answered on Nov 4, 2024

Make sure that your Apex code sets values in a way that aligns with these lookup filter criteria. For example, if the lookup filter is based on the checkbox (Certified Implementation Partner (CIP)), verify that your Apex fnf code correctly updates this checkbox on the related record before setting the lookup field.

Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.