Timeline for Comparing old and new field value from Map<Id,Sobject>
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 9, 2020 at 14:24 | comment | added | LMills | thanks for the really clear explanation. I'm glad I wasn't too far off :) I tried the first part with my code and it worked: for (Lead updatedLead : (List<Lead>) newitems.values()) { SObject oldLead = oldItems.get(updatedLead.Id); if (updatedLead.get('ProductInterest__c') != oldLead.get('ProductInterest__c')) | |
Sep 9, 2020 at 14:23 | vote | accept | LMills | ||
Sep 9, 2020 at 13:16 | history | answered | Derek F | CC BY-SA 4.0 |