-
How can I run batch class in post install script?
Hello Team,
I was trying to run batch class in post install script for delete my customer's old data of custom object.
I had written that code in upgrade script of post install script. It is throwing error of 'Post Install Script Error'
Any one help me how to delete data of custom object when customer install package?
Thanks
Log In to reply.
Popular Salesforce Blogs

A Guide to Listing App or Product on Salesforce AppExchange
To create a Salesforce App, coding experience is not mandatory. Apex and JavaScript are the key languages used in Salesforce App development. However, one can…

5 Questions That Indicates Your Business Needs Salesforce CPQ
Organizations often struggle to identify opportunities to address every aspect– the what, how, where, and why of their business for better sales. At times, the…

Salesforce Dreamforce 2024: Experience with Salesforce+ & Trailblazer
The world's community comes together to examine the newest advancements in [AI] Artificial Intelligence, customer success, and innovation at Dreamforce 2024, an event that Salesforce…
Popular Salesforce Videos
Salesforce Service Cloud Overview Demo
Service Cloud is a complete service solution built on the Salesforce platform that lets you quickly adapt to change, to deliver trusted service from anywhere.…
How to Use a Phone in Salesforce with Dialer for Essentials | Salesforce Essentials
Unify your team with a single company phone number. Lightning Dialer for Essentials lets you and your team close deals and take support calls right…
Salesforce Marketing Cloud Connect Complete Setup in Lightning
Cameron Robert demonstrates a complete end-to-end setup of Marketing Cloud Connect in Lightning view. Marketing Cloud Connect creates an integration between Salesforce CRM and Salesforce…