-
Notifications
You must be signed in to change notification settings - Fork 460
MetadataTriggerService
pozil edited this page Nov 14, 2024
·
11 revisions
private objType
String
public MetadataTriggerService(String objectTypeName)
Name | Type | Description |
---|---|---|
objectTypeName | String |
SUPPRESSWARNINGS
This query finds an ordered list trigger handler classes to execute. It ignores any classes that are marked as disabled.
Note: It will exclude any triggerHandler
metadata records for which
the user's email address is found in a related Disabled_for__mdt
record.
Admin's and Developers can selectively disable trigger handlers for all or selected individuals without deploying.
public List<Metadata_Driven_Trigger__mdt> getMetadataTriggers()
List<Metadata_Driven_Trigger__mdt>
This determines the active sObject type by describing the first record in the trigger New / Old list
public static String getSObjectType()
String