function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
shalushalu 

create new object called application with 2 field namely application name and phone .if contact record is inserted new application record need to insert (after insert,update)using trigger

Brahmaiah GantaBrahmaiah Ganta
Hi Swathy,
Try with below code.may be it will help. Let me Known it working fine for you or not?
trigger CreateNewAppRecordWhenContactCreated on Contact (after insert,after update) {
  public List<Application__c> appList = new List<Application__c>();
    for(Contact con : Trigger.new){
        Application__c app = new Application__c();
        app.application_Name__c = con.Name;
        app.Phone__c = con.Phone;
        appList.add(app);
    }
    if(appList.size()>0 && appList != NULL){
        insert appList;
    }

}