-
How can i write a Salesforce trigger for below given scenario ?
write a trigger on opportunity which gives an error if both the conditions are true:
condition1 : if opportunity contact role is empty
AND
condition 2: if opportunity stage is changed to 'closed Won'
Log In to reply.
Popular Salesforce Blogs
4 Phases of Salesforce Classic to Lightning Migration
Salesforce Classic to Lightning Migration offers you access to better UI, new features, and more opportunities to scale. When Salesforce Lightning was launched in 2015,…
What are the Top 10 Useful Extensions In Salesforce in 2023?
The top 10 useful extensions for Salesforce in 2023 are: Salesforce Inspector Productivity tools for Salesforce administrators and developers to inspect data and metadata directly…
The Role of Salesforce Einstein in Marketing, Sales, and Services
Salesforce Einstein is an Artificial Intelligence technology launched for the Salesforce Customer Success Platform. With Salesforce Artificial Intelligence, you can increase the potential of marketing,…
Popular Salesforce Videos
How To Use Salesforce Campaigns in Pardot
Learn campaign basics to help you plan your marketing strategy. In this video, Pardot experts guide you in: - Defining campaigns in Pardot and Salesforce…
How to Get Your Data In and Get Insights Out | Salesforce Essentials
Organize all your data with Salesforce Essentials. With a quick and easy import, you’ll be able to manage your business and watch it grow. Essentials…
Welcome to Email Template Builder | Salesforce Learning
In this video, you will learn how to create email templates with Email Template Builder and Email Content Builder. If you have any doubts or…