답변 28개
Your trigger logic will be like below:List<CustomLead__c> customLeadsList = new List<CustomLead__c>();for(Lead ld: trigger.new) { CustomLead__c customLead = new CustomLead__c(); customLead.Name = ld.Name; //map other needed fields same way customLeadsList.add(customLead); }insert customLeadsList;