-
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.
Popular Salesforce Blogs

Salesforce Revenue Cloud: The All-In-One Solution For Your Business Growth
Throughout the sales life cycle a company faces innumerable challenges. One of the most overwhelming moments takes place at the end of the cycle, when…

What are Salesforce Dynamic Actions: Overview, Benefits, Business Cases
The main idea of Dynamic Actions in Salesforce is to provide users with access to those actions which they really need according to their position…
Popular Salesforce Videos
Why There Are So Many Acquisitions in The Salesforce Ecosystem?
Global technology acquisition deals amounted to $634.1 billion in 2020, an increase of 91.8% year-on-year. An acquisition is when one company purchases most or all…
Introduction To Salesforce Integration
This video is about a basic intro to Salesforce Integration What is integration? Types Of integration Benefits of Salesforce integration Best Practices for successful integration…
Engineer More Than Software at Salesforce
Salesforce engineers are builders. Together, we’ve created a platform that helps companies around the world connect with their customers. Driven by our commitment to trust,…