-
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
Revolutionizing Patient Care with Salesforce Healthcare Cloud
Introduction Technology is the riveting force behind changing health care in the modern world today. Salesforce Healthcare Cloud stands at the forefront of this revolution…
How Salesforce Consultants Help Businesses Build Smarter, Scalable Sales Pipelines
Have you ever wondered why certain companies can close sales more quickly, forecast more accurately, and scale with ease while others find it difficult to…
What are Salesforce Flows? | The Ultimate Guide
Salesforce Flows is a powerful tool that allows users to automate business processes and simplify tasks within the Salesforce platform. Flows are a visual, declarative…
Popular Salesforce Videos
Mocking Apex Tests: Salesforce Tutorial
In this Video Leonardo Berardino talks about the following: Mocking Apex Tests and Apex Mock Examples Unit Tests x Integration Tests How to create unit…
Marketing Cloud Connect: View Full Resolution Emails in Sales or Service Cloud
Thumbnails don't always cut it. Sometimes you need the full resolution Marketing Cloud email in Sales or Service Cloud to see what was sent to…
Salesforce and Disney Studios Join Forces
Salesforce and Disney Studios Content recently announced a five-year innovation partnership to help support Disney filmmakers and marketers using the Salesforce platform. By naming Salesforce…