-
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
How Salesforce Integration Differentiates You from Your Competitors?
In our day and age, where customer centricity holds the key to profitability, organizations that had perfected the art of compartmentalizing systems need to wake…
The Ultimate Guide to Salesforce Implementation in 2021
Technology is growing at a lightning speed. But if we look around, we still use Excel, notepad to scribble information about meetings and customers. Don’t…
New Salesforce Interface: The Case for Lightning Migration from Classic
As we approach the end of the current year, it’s a great opportunity for businesses to evaluate their existing IT infrastructure and gear up for…
Popular Salesforce Videos
Top 6 Products by Salesforce Marketing Cloud
Salesforce is largely regarded as the most influential Salesforce automation and cloud CRM vendor, having popularized the SaaS model and, in the process, disrupted the…
Set Your Sales Cloud Implementation Up for Success
Make Sales Cloud a valued business tool that your sales reps will rely on by starting with these planning strategies and best practices for success.…
Customizing and Replacing Sample Salesforce Data
Leverage our sample use case for Salesforce to learn how HyperIntelligence works—and rapidly get your own cards up and running! In this video, we’ll demonstrate…