interview notes
Trigger Apptrigger on Applicaton__C(after insert, after update, after delete, after undelete){
List<Id> conIdList = new List<Id>();
for(Applicaiton__c app:trigger.new){
conIdList.add(app.contact__c);
}
//List<Contact> contactList = [select id,count__c,() from contact where id in : conIdList];
Map<Contact,Number> contactList = new List<>(Contact);
for(Applicaiton__c appList : [select id,contact__c from Applicaiton__c where contact__c in : conIdList]){
}
}
+91 9177719594
List<Id> conIdList = new List<Id>();
for(Applicaiton__c app:trigger.new){
conIdList.add(app.contact__c);
}
//List<Contact> contactList = [select id,count__c,() from contact where id in : conIdList];
Map<Contact,Number> contactList = new List<>(Contact);
for(Applicaiton__c appList : [select id,contact__c from Applicaiton__c where contact__c in : conIdList]){
}
}
Best regards
RajendarCertified Salesforce Platform Developer I
No comments: