Skip to main content
답변 28개
  1. 2020년 11월 3일 오전 9:09
    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;