You need to sign in to do that
Don't have an account?
Arun battula
can please someone help
Trigger.oldMap is note giving me old values
Hi,
Thanks to you all for the response in advance,
I am not getting old values in my trigger when i use the trigger.oldMap, instead I am getting new values itself
trigger LP_EventAfterTrigger on Event (After insert,After Update) { for(Event evtRec:trigger.new){ if(trigger.oldMap.get(evtRec.Id).WhoCount !=evtRec.WhoCount){ system.debug(evtRec.EventWhoIds+' Difference '+ trigger.oldMap.get(evtRec.Id).EventWhoIds); } } }
can please someone help
Here are some possible reasons:
Thanks
Gulshan Raj