An effort to bring a revolution in Salesforce.

Friday 17 July 2015

salesforce!! what is the difference between "Trigger.New" and "Trigger.old"?

Salesforce Trigger

Trigger.new : Returns a list of the new versions of the sObject records. Note that this sObject list is only available in insert and update triggers, and the records can only be modified in before triggers.

Trigger.old : Returns a list of the old versions of the sObject records. Note that this sObject list is only available in update and delete triggers.



For more info go through this link:



,

No comments:

Post a Comment

Get Gmail, Docs, Drive, and Calendar for business