-
How can I delete activities related to lead through salesforce apex code?
Hi All,
How can I delete activities related to lead through apex code?
I am in a scenario in which only activities related to leads are to be deleted not the lead. So How can I do that through code?
Thanks
Log In to reply.
Popular Salesforce Blogs
Salesforce Event Monitoring Unit - Getting Started
Event Monitoring Event monitoring allows you to trace plenty of events that occur on a Salesforce Org, for example, Authentication (Logins, Logouts), API Calls, Apex…
Boost Fundraising With Salesforce Nonprofit Cloud Implementation
Trusted by more than 150,000 customers globally, Salesforce is one of the most popular and go-to CRMs for corporates and enterprises. It empowers organizations to…
Introduction to the Scratch Org | All You Need to Know
Scratch org is a deployment of Salesforce code and information that is source-driven and disposable. Since scratch org is completely customizable, developers can simulate several…
Popular Salesforce Videos
Get Together Safely with Salesforce Safety Cloud
Learn how Safety Cloud helps people get together in person, safely. Safety Cloud helps businesses and communities better manage their testing, health and entry protocols…
Education Cloud in Salesforce
Education Cloud is a leading platform that empowers your institution to become a Connected Campus, so you can transform the student journey. With the power…
Public Groups In Salesforce | Salesforce Development Tutorial
Public Groups In Salesforce. In this video, the following points will be covered - 1. Introduction Get a brief introduction about public groups. 2. Purpose…