• mukesh khandve
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies
global class DailyLeadProcessor implements Schedulable{    
global void execute(SchedulableContext ctx){        
List<lead> newLead=new List<Lead>([Select Id,LeadSource from Lead where LeadSource!=null ]) ;        
if(!newLead.isEmpty()!=null){            
for(Lead l:newLead){                
l.LeadSource='Dreamforce';          
  }        
}    

}
}