...
Code Block | ||
---|---|---|
| ||
/** * Trigger to cascade delete Send2CRM Visitors. */ trigger CustomObjectCascadeTrigger on CustomObject__c (after delete) { // Cascade delete all related Visitors, unless still related to other records. // No deletion will occur if cascade delete is disabled by custom setting. send2crm.TriggerHelperVisitorHelper.cascadeDeleteVisitors(Trigger.oldMap.keySet()); } |
...