+ Start a Discussion
rohit.mehtarohit.mehta 

Trigger oldMap

Hi,

I have an after update trigger on opportunity.
I wanted to know what fields are available on an object when I retrieve it from the Trigger.oldMap ?

What I observed is that all fields are not available on the object retrieved from the oldMap and wanted to understand the logic.

Thanks,
Rohit

JeremyKraybillJeremyKraybill
Rohit, what fields are missing? There is a list of documented fields that have this behavior in the Apex developer guide section called "Invoking Apex > Triggers > Fields that Cannot Be Updated by Triggers".