New answers tagged

2

As the author of the Nebula Trigger Framework, I have opinions! I think that the old style of trigger frameworks should stay in the past. Consistency within an org counts for a lot but, all other things being equal either, either of those frameworks is better than the old ways. Style I believe that a framework should encourage good style. It should be just ...


1

You don't need to do any maps here, at least with the sample code you have: public static void getOpenCaseOnAccount() { Map<id,user> userIds = new map<id,user>([select id from user]); List<Account> accounts = [select id from account where createdbyid in :userIds.keyset()]; List<Case> caseList =[select CaseNumber ...


4

Incorrectly minified optional chaining is a known bug. Here is a quote from the response given by Salesforce support on this issue Most probably this should be fixed in the summer 21 release. You can always refer to this bug id “W-9154750” for reference and contact salesforce if the same issue occurs in the sandbox when the summer 21 (232) release comes up. ...


Top 50 recent answers are included