Salesforce Certified Application Architect

Thursday 26 June 2014

Be aware of the following considerations for trigger context variables:

  • trigger.new and trigger.old cannot be used in Apex DML operations.

  • You can use an object to change its own field values using trigger.new, but only in before triggers. In all after triggers, trigger.new is not saved, so a run time exception is thrown.

  • trigger.old is always read-only.

  • You cannot delete trigger.new.


Cheers...

No comments:

Post a Comment

Salesforce Certified Application Architect & Certified Data Architecture and Management Designer Exam

How to pass Salesforce Certified Data Architecture and Management Designer Exam This exam was 1st architect exam for me. Its not that muc...