-
Created a class for process builder but couldn’t find the class when selecting the apex in add action section?
public with sharing class ProcessBuilderApexClass {
public static void PerformAction(list<Id> IdOfLeads){
list<Lead> leadList = new list<Lead>();
system.debug(‘IdOfLeads::::’+IdOfLeads);
leadList = [select id from lead where id IN: IdOfLeads];}
}Please help me out in this.
Log In to reply.