Search This Blog

Wednesday, March 16, 2016

After Undelete Event in Trigger

The After undelete event fires when we recover the records from recylebin. It means if we delete the records and then once you undelete from Recycle Bin,at that time after undelete event triggers will fire.
The after undelete trigger events only run on top-level objects.
For example, if you delete an Account, an Opportunity may also be deleted. When you recover the Account from the Recycle Bin, the Opportunity is also recovered. If there is an after undelete trigger event associated with both the Account and the Opportunity, only the Account after undelete trigger event executes.
The after undelete trigger event only fires for the following objects:
1)Account
2)Asset
3)Campaign
4)Case
5)Contact
6)ContentDocument
7)Contract
8)Custom objects
9)Event
10)Lead
11)Opportunity
12)Product
13)Solution
14)Task

No comments:

Post a Comment