Apex Trigger Examples

Omni-Channel Presence Integration

The following trigger enables the Distribution Engine widget toggle to be controlled by changes in the Omni-Channel presence. Omni-Channel will be the master - DE changes will not be reflected in Omn…

Updated 5 months ago

Invalid Email trigger

One of the quirks of Salesforce is that it will allow invalid Email addresses to be stored in Email fields when a lead is inserted from an external source such as Web-to-Lead. This causes an issue fo…

Updated 5 months ago

Custom triggers

Distribution Engine must update records to assign them. In order to avoid any conflicts, its recommend that any triggers you have do not fire when DE is making its update. To do this you can use the…

Updated 5 months ago