public interface RecordTriggerContext
RecordTrigger
. Includes the contextual information needed to invoke a trigger.Modifier and Type | Method and Description |
---|---|
List<RecordChange> |
getRecordChanges()
Retrieves the changed records which caused the trigger to fire.
|
RecordEvent |
getRecordEvent()
Retrieves the
RecordEvent that occurred which caused this trigger to fire. |
List<RecordChange> getRecordChanges()
The returned List will always have at least one element.
RecordEvent getRecordEvent()
RecordEvent
that occurred which caused this trigger to fire.
Note that this can be important since some RecordTrigger
s are wired up to
multiple Events. In that case, this will distinguish which one of those multiple Events are
occurring when the trigger is actually invoked.
Copyright © Veeva Systems 2017–2020. All rights reserved.