binxie
2023-06-26 6e4766bc135c30fa9e02a2b527dcdf8fd5eeec8d
force-app/main/default/triggers/InspectionReportTrigger.trigger
@@ -1,4 +1,6 @@
trigger InspectionReportTrigger on Inspection_Report__c (after insert, after update, before delete) {
    InspectionReportTriggerHandler handler = new InspectionReportTriggerHandler();
    handler.run();
    if(Test.isRunningTest()||UserInfo.getUserId()!=System.Label.ByPassTrigger){
        InspectionReportTriggerHandler handler = new InspectionReportTriggerHandler();
        handler.run();
    }
}