Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

trigger.isInsert and trigger.isUpdate

Be First!
by October 7, 2012 Uncategorized

trigger.isInsert and trigger.isUpdate

trigger.isInsert is true when a new record is created and inserted.

trigger.isUpdate is true when an existing record is modified.

Example:
trigger memberInviteNotify on Member__c (after insert,after update)
{
if(trigger.isInsert)
{
// When a new record is created and inserted, the flow will come here
……………………….
}
if(trigger.isUpdate)
{
// When an existing record is modified, the flow will come here
……………………….
}
}

(215)

Previous
Next

Leave a Reply