first commit Riabu

This commit is contained in:
2025-11-26 15:57:11 +05:30
parent dd002222ad
commit a5dea75cc3
51 changed files with 14671 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
trigger ContactTrigger on Contact (after insert, after update) {
if (Trigger.isAfter) {
if (Trigger.isInsert || Trigger.isUpdate) {
// Only run trigger logic if allowed
if (ContactTriggerHandler.becamePrimary) {
System.debug('Trigger executed - becamePrimary is TRUE');
// your logic here if needed
}
}
}
}