1

I have a flow that calls an Apex method where the following SOQL query is executed:

SELECT Id Name FROM Contact WHERE Name LIKE '%%'

After the Summer 19' preview was applied in our sandboxes the flow is now failing with the following:

The field "Name" isn’t valid for the "Contact" object.

I tried recompiling all classes in the sandbox, but that did not take care of the issue. Any thoughts?

  • I saw someone mention a similar issue with a condition in Lightning App Builder that referenced contact name -- I'm raising it internally. – shannonsans May 9 at 17:56
  • Thanks, I do have a case opened as well. – Jay May 9 at 17:59
  • Can you give me the case number? I have an email thread I can add it to. – shannonsans May 9 at 18:07
  • Thank you - 22836213 – Jay May 9 at 18:10
  • Hi Jay - just wanted to let you know, engineering checked in a fix for this yesterday and it should go out in the next patch (May 28). Bug number is W-6166739. – shannonsans May 22 at 15:03
1

if your flow calls Apex class, there is similar issue know issue by Salesforce after summer 19 release Please try below work around see if it works. Link

Please recompile all classes in org by using compile all classes link on apex classes page under setup or you can do runAllTest in org which will recompile the covered classes. This will fix the issue. We faced a similar issue after Summer 19 release and got it fixed by recompiling all the classes.

  • I did come across that before posting this particular one, but it did not work. I thought it was related, but I guess not. – Jay May 9 at 18:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.