-
How can i use same SOQL script for both before and after triggers that are run on same object?
I have use case in which I have to query Lead data and have to fire both before and after trigger on the same object. Any way to do that using a same SOQL Statement? Do I have to hardcode two different queries?
Log In to reply.
Popular Salesforce Blogs
3 Key Benefits of Hiring Certified Salesforce Consultants in 2024
Businesses will still have to contend with a highly competitive market in 2024, when having the appropriate tools and tactics might be crucial. One of…
Popular Salesforce Videos
Difference between Workflow Rules and Process Builder in Salesforce
This video explains the difference between workflow rules and process builder. It is divided into four parts : 1. When to use Workflow 2. When…
What is Campaign Member in Salesforce? | How to add Leads and Contacts in Campaign object's record?
This video explains Campaign Members in-depth. Let's discuss the following things in this video: 1. What is the significance of Campaign members in Salesforce? 2.…
Fillable PDFs for Salesforce Field Service
The ability to generate fillable PDFs for Salesforce Field Service can be a powerful tool. We demonstrate how to use PDFLib, a JavaScript library that…